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

This commit is contained in:
Alex Beregszaszi 2021-12-09 12:55:06 +00:00 committed by GitHub
parent db03faa10d
commit ae8ff2661d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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