Refactor interpreter.

This commit is contained in:
chriseth
2020-07-09 15:00:13 +02:00
parent 8548bf1b4c
commit ec2393d3b6
6 changed files with 69 additions and 75 deletions
+1 -2
View File
@@ -88,10 +88,9 @@ string YulInterpreterTest::interpret()
InterpreterState state;
state.maxTraceSize = 10000;
state.maxSteps = 10000;
Interpreter interpreter(state, EVMDialect::strictAssemblyForEVMObjects(langutil::EVMVersion{}));
try
{
interpreter(*m_ast);
Interpreter::run(state, EVMDialect::strictAssemblyForEVMObjects(langutil::EVMVersion{}), *m_ast);
}
catch (InterpreterTerminatedGeneric const&)
{