vm: add PUSHT and PUSHF opcodes
Port https://github.com/neo-project/neo-vm/pull/497.
This commit is contained in:
parent
6912695b9d
commit
1250e82c2a
11 changed files with 214 additions and 208 deletions
|
@ -20,6 +20,8 @@ var coefficients = [256]uint16{
|
|||
opcode.PUSHINT64: 1 << 0,
|
||||
opcode.PUSHINT128: 1 << 2,
|
||||
opcode.PUSHINT256: 1 << 2,
|
||||
opcode.PUSHT: 1 << 0,
|
||||
opcode.PUSHF: 1 << 0,
|
||||
opcode.PUSHA: 1 << 2,
|
||||
opcode.PUSHNULL: 1 << 0,
|
||||
opcode.PUSHDATA1: 1 << 3,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue