yulInterpreter: More fine-grained exception handling

This commit is contained in:
Bhargava Shastry
2019-04-04 13:02:55 +02:00
parent 44fc658aa0
commit f15cedad7a
8 changed files with 65 additions and 24 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ void Interpreter::operator()(Block const& _block)
if (m_state.maxSteps > 0 && m_state.numSteps >= m_state.maxSteps)
{
m_state.trace.emplace_back("Interpreter execution step limit reached.");
throw InterpreterTerminated();
throw StepLimitReached();
}
openScope();
// Register functions.