diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-31 17:32:53 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-31 17:32:53 +0800 |
commit | 4b4e0821027cb5a82eaa04dcd89b1cad4a05af4e (patch) | |
tree | 17ef7fdab049725212a2a2c99a0bfeceaf904a5c /vm | |
parent | 77924757a8ab1c0c1a57b00673eebc08912ba0e0 (diff) | |
download | go-tangerine-4b4e0821027cb5a82eaa04dcd89b1cad4a05af4e.tar.gz go-tangerine-4b4e0821027cb5a82eaa04dcd89b1cad4a05af4e.tar.zst go-tangerine-4b4e0821027cb5a82eaa04dcd89b1cad4a05af4e.zip |
JUMPI never 'require' checked.
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_debug.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_debug.go b/vm/vm_debug.go index 933fb7b12..1e1b85e6d 100644 --- a/vm/vm_debug.go +++ b/vm/vm_debug.go @@ -140,7 +140,7 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price * // Stack checks only case ISZERO, CALLDATALOAD, POP, JUMP, NOT: // 1 require(1) - case ADD, SUB, DIV, SDIV, MOD, SMOD, LT, GT, SLT, SGT, EQ, AND, OR, XOR, BYTE, SIGNEXTEND: // 2 + case JUMPI, ADD, SUB, DIV, SDIV, MOD, SMOD, LT, GT, SLT, SGT, EQ, AND, OR, XOR, BYTE, SIGNEXTEND: // 2 require(2) case ADDMOD, MULMOD: // 3 require(3) |