diff options
author | chriseth <chris@ethereum.org> | 2017-01-13 20:05:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-13 20:05:02 +0800 |
commit | 60cc1668517f56ce6ca8225555472e7a27eab8b0 (patch) | |
tree | 8eac35131efc4beeee921356052375233edd7102 /libevmasm/CommonSubexpressionEliminator.cpp | |
parent | 822622cf5bf23e79a6e2292cb837d1a39ca1c419 (diff) | |
parent | e22672b7c739dde9f37a919e63245abda4b1fc89 (diff) | |
download | dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar.gz dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar.bz2 dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar.lz dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar.xz dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar.zst dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.zip |
Merge pull request #1561 from ethereum/develop
Merge develop into release for 0.4.8
Diffstat (limited to 'libevmasm/CommonSubexpressionEliminator.cpp')
-rw-r--r-- | libevmasm/CommonSubexpressionEliminator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libevmasm/CommonSubexpressionEliminator.cpp b/libevmasm/CommonSubexpressionEliminator.cpp index 6294e579..fd4fffa6 100644 --- a/libevmasm/CommonSubexpressionEliminator.cpp +++ b/libevmasm/CommonSubexpressionEliminator.cpp @@ -303,7 +303,9 @@ void CSECodeGenerator::generateClassElement(Id _c, bool _allowSequenced) for (auto it: m_classPositions) for (auto p: it.second) if (p > m_stackHeight) + { assertThrow(false, OptimizerException, ""); + } // do some cleanup removeStackTopIfPossible(); |