From d564c24f30ee7ced6509f7d606e302999e99f404 Mon Sep 17 00:00:00 2001 From: Bhargava Shastry Date: Mon, 18 Feb 2019 15:19:14 +0100 Subject: [PATCH] POP is actually a valid instruction. --- test/tools/yulInterpreter/EVMInstructionInterpreter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/tools/yulInterpreter/EVMInstructionInterpreter.cpp b/test/tools/yulInterpreter/EVMInstructionInterpreter.cpp index c829ad1fa..d9e916d4a 100644 --- a/test/tools/yulInterpreter/EVMInstructionInterpreter.cpp +++ b/test/tools/yulInterpreter/EVMInstructionInterpreter.cpp @@ -353,10 +353,11 @@ u256 EVMInstructionInterpreter::eval( case Instruction::SELFDESTRUCT: logTrace(_instruction, arg); throw InterpreterTerminated(); + case Instruction::POP: + break; // --------------- invalid in strict assembly --------------- case Instruction::JUMP: case Instruction::JUMPI: - case Instruction::POP: case Instruction::JUMPDEST: case Instruction::PUSH1: case Instruction::PUSH2: