diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-09 17:43:14 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-09 18:28:49 +0800 |
commit | 591c591af05f29bf42b8b162a4fcda5a9a8fae9f (patch) | |
tree | a448d572df111ba938bbca43098864852507236a /libjulia/optimiser/Semantics.cpp | |
parent | 7bbfd77e8e924f4946fcc99d4334d7e8ad3cc8de (diff) | |
download | dexon-solidity-591c591af05f29bf42b8b162a4fcda5a9a8fae9f.tar dexon-solidity-591c591af05f29bf42b8b162a4fcda5a9a8fae9f.tar.gz dexon-solidity-591c591af05f29bf42b8b162a4fcda5a9a8fae9f.tar.bz2 dexon-solidity-591c591af05f29bf42b8b162a4fcda5a9a8fae9f.tar.lz dexon-solidity-591c591af05f29bf42b8b162a4fcda5a9a8fae9f.tar.xz dexon-solidity-591c591af05f29bf42b8b162a4fcda5a9a8fae9f.tar.zst dexon-solidity-591c591af05f29bf42b8b162a4fcda5a9a8fae9f.zip |
Do not use solAssert within libjulia
Diffstat (limited to 'libjulia/optimiser/Semantics.cpp')
-rw-r--r-- | libjulia/optimiser/Semantics.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libjulia/optimiser/Semantics.cpp b/libjulia/optimiser/Semantics.cpp index 92728c46..f28925a4 100644 --- a/libjulia/optimiser/Semantics.cpp +++ b/libjulia/optimiser/Semantics.cpp @@ -20,6 +20,8 @@ #include <libjulia/optimiser/Semantics.h> +#include <libjulia/Exceptions.h> + #include <libsolidity/inlineasm/AsmData.h> #include <libevmasm/SemanticInformation.h> @@ -56,5 +58,5 @@ void MovableChecker::operator()(FunctionCall const&) void MovableChecker::visit(Statement const&) { - solAssert(false, "Movability for statement requested."); + assertThrow(false, OptimizerException, "Movability for statement requested."); } |