core/vm: remove unused code (IsStaticJump) (#24085)

This commit is contained in:
Alex Beregszaszi 2021-12-09 12:55:06 +00:00 committed by Daniel Liu
parent fbc1cc11ba
commit 2ce30010bc

View file

@ -32,11 +32,6 @@ func (op OpCode) IsPush() bool {
return false
}
// IsStaticJump specifies if an opcode is JUMP.
func (op OpCode) IsStaticJump() bool {
return op == JUMP
}
// 0x0 range - arithmetic ops.
const (
STOP OpCode = 0x0