diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-04 21:28:15 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-04 23:47:58 +0800 |
commit | 02ea0e547f3faa687f9c986ca9a0201b995846c0 (patch) | |
tree | e6ab87291d5e0738c3bb2089464a75868567bb64 /Changelog.md | |
parent | efa0ccaf9e25a257e1ee6b36c0b77b1532131077 (diff) | |
download | dexon-solidity-02ea0e547f3faa687f9c986ca9a0201b995846c0.tar.gz dexon-solidity-02ea0e547f3faa687f9c986ca9a0201b995846c0.tar.zst dexon-solidity-02ea0e547f3faa687f9c986ca9a0201b995846c0.zip |
Replace comparison operators with opposites if preceded by SWAP1
Diffstat (limited to 'Changelog.md')
-rw-r--r-- | Changelog.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Changelog.md b/Changelog.md index 9618dfa7..1d854291 100644 --- a/Changelog.md +++ b/Changelog.md @@ -6,6 +6,7 @@ Features: * General: Support accessing dynamic return data in post-byzantium EVMs. * Interfaces: Allow overriding external functions in interfaces with public in an implementing contract. * Optimizer: Remove useless ``SWAP1`` instruction preceding a commutative instruction (such as ``ADD``, ``MUL``, etc). + * Optimizer: Replace comparison operators (``LT``, ``GT``, etc) with opposites if preceded by ``SWAP1``, e.g. ``SWAP1 LT`` is replaced with ``GT``. * Optimizer: Optimize across ``mload`` if ``msize()`` is not used. * Syntax Checker: Issue warning for empty structs (or error as experimental 0.5.0 feature). * General: Introduce new constructor syntax using the ``constructor`` keyword as experimental 0.5.0 feature. |