diff options
author | chriseth <chris@ethereum.org> | 2018-04-05 17:57:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 17:57:26 +0800 |
commit | c6da5c1650964f9dadd4b483d42585223e086b74 (patch) | |
tree | 693cc1ec510c7eb688eb0fc0e31cc97380c1e265 /Changelog.md | |
parent | c6adad9368dce6b02d924b0fd3afb4bba4b23c06 (diff) | |
parent | 8dc9113e370a2edd42213c2c0cca811a3dbd8dd4 (diff) | |
download | dexon-solidity-c6da5c1650964f9dadd4b483d42585223e086b74.tar dexon-solidity-c6da5c1650964f9dadd4b483d42585223e086b74.tar.gz dexon-solidity-c6da5c1650964f9dadd4b483d42585223e086b74.tar.bz2 dexon-solidity-c6da5c1650964f9dadd4b483d42585223e086b74.tar.lz dexon-solidity-c6da5c1650964f9dadd4b483d42585223e086b74.tar.xz dexon-solidity-c6da5c1650964f9dadd4b483d42585223e086b74.tar.zst dexon-solidity-c6da5c1650964f9dadd4b483d42585223e086b74.zip |
Merge pull request #3822 from ethereum/swap-comparison
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 0db5df96..e208437e 100644 --- a/Changelog.md +++ b/Changelog.md @@ -7,6 +7,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. |