mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Refactor interpreter.
This commit is contained in:
@@ -99,11 +99,9 @@ string EwasmTranslationTest::interpret()
|
||||
InterpreterState state;
|
||||
state.maxTraceSize = 10000;
|
||||
state.maxSteps = 100000;
|
||||
WasmDialect dialect;
|
||||
Interpreter interpreter(state, dialect);
|
||||
try
|
||||
{
|
||||
interpreter(*m_object->code);
|
||||
Interpreter::run(state, WasmDialect{}, *m_object->code);
|
||||
}
|
||||
catch (InterpreterTerminatedGeneric const&)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user