diff options
author | chriseth <c@ethdev.com> | 2017-01-11 00:38:42 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-01-13 00:52:27 +0800 |
commit | d34b561f682336bef0258537f7fdf87b16f4a741 (patch) | |
tree | be89f812e28f4b6d6e1247a7c54c2754369fda1d /libevmasm | |
parent | 58509ca3aa1f1c649303bca4e705c1c96e832c08 (diff) | |
download | dexon-solidity-d34b561f682336bef0258537f7fdf87b16f4a741.tar dexon-solidity-d34b561f682336bef0258537f7fdf87b16f4a741.tar.gz dexon-solidity-d34b561f682336bef0258537f7fdf87b16f4a741.tar.bz2 dexon-solidity-d34b561f682336bef0258537f7fdf87b16f4a741.tar.lz dexon-solidity-d34b561f682336bef0258537f7fdf87b16f4a741.tar.xz dexon-solidity-d34b561f682336bef0258537f7fdf87b16f4a741.tar.zst dexon-solidity-d34b561f682336bef0258537f7fdf87b16f4a741.zip |
Windows build fix.
Diffstat (limited to 'libevmasm')
-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(); |