aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia/optimiser/Semantics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libjulia/optimiser/Semantics.cpp')
-rw-r--r--libjulia/optimiser/Semantics.cpp4
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.");
}