From a1bb249d45ba17042a1b4103a357b30703680c89 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 2 Mar 2015 18:41:15 +0100 Subject: [PATCH] JUMPDEST is 1. --- libevm/VM.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libevm/VM.cpp b/libevm/VM.cpp index 6a6937f89..2243da2e7 100644 --- a/libevm/VM.cpp +++ b/libevm/VM.cpp @@ -145,6 +145,10 @@ bytesConstRef VM::go(ExtVMFace& _ext, OnOpFunc const& _onOp, uint64_t _steps) newTempSize = memNeed(m_stack[m_stack.size() - 2], m_stack[m_stack.size() - 4]); break; + case Instruction::JUMPDEST: + runGas = 1; + break; + case Instruction::LOG0: case Instruction::LOG1: case Instruction::LOG2: