aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm_debug.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-31 00:09:43 +0800
committerobscuren <geffobscura@gmail.com>2014-12-31 00:09:43 +0800
commit138ab26b8c29db00022fb6afbca153f3c1928d00 (patch)
tree09b0e180b40c653cf307369232b91503453db2d3 /vm/vm_debug.go
parentcc5e621fc4d80269c335001528667e668ae267ee (diff)
downloadgo-tangerine-138ab26b8c29db00022fb6afbca153f3c1928d00.tar.gz
go-tangerine-138ab26b8c29db00022fb6afbca153f3c1928d00.tar.zst
go-tangerine-138ab26b8c29db00022fb6afbca153f3c1928d00.zip
SIGNEXTEND missing from stack check
Diffstat (limited to 'vm/vm_debug.go')
-rw-r--r--vm/vm_debug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_debug.go b/vm/vm_debug.go
index 2ee13c516..a4e97ad48 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: // 2
+ case 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)