POP is actually a valid instruction.

This commit is contained in:
Bhargava Shastry 2019-02-18 15:19:14 +01:00 committed by chriseth
parent 0e471ab811
commit d564c24f30

View File

@ -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: