Merge pull request #9371 from ethereum/refactorInterpreter

Refactor yul interpreter.
This commit is contained in:
chriseth
2020-07-13 18:27:47 +02:00
committed by GitHub
7 changed files with 83 additions and 88 deletions
+1 -2
View File
@@ -44,12 +44,11 @@ yulFuzzerUtil::TerminationReason yulFuzzerUtil::interpret(
0xc7, 0x60, 0x5f, 0x7c, 0xcd, 0xfb, 0x92, 0xcd,
0x8e, 0xf3, 0x9b, 0xe4, 0x4f, 0x6c, 0x14, 0xde
};
Interpreter interpreter(state, _dialect);
TerminationReason reason = TerminationReason::None;
try
{
interpreter(*_ast);
Interpreter::run(state, _dialect, *_ast);
}
catch (StepLimitReached const&)
{