From b3c0366cfabc31df819c5b0279a73601eb6a494a 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 f4e904e3f..4592b7dcd 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: