aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-01-11 00:38:42 +0800
committerchriseth <c@ethdev.com>2017-01-13 00:52:27 +0800
commitd34b561f682336bef0258537f7fdf87b16f4a741 (patch)
treebe89f812e28f4b6d6e1247a7c54c2754369fda1d /libevmasm
parent58509ca3aa1f1c649303bca4e705c1c96e832c08 (diff)
downloaddexon-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.cpp2
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();