vm: add ABORTMSG and ASSERTMSG opcodes
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
2493400525
commit
e7f77e052f
5 changed files with 22 additions and 1 deletions
|
@ -70,6 +70,8 @@ var coefficients = [256]uint16{
|
|||
opcode.CALLT: 1 << 15,
|
||||
opcode.ABORT: 0,
|
||||
opcode.ASSERT: 1 << 0,
|
||||
opcode.ABORTMSG: 0, // TODO
|
||||
opcode.ASSERTMSG: 1 << 0, // TODO
|
||||
opcode.THROW: 1 << 9,
|
||||
opcode.TRY: 1 << 2,
|
||||
opcode.TRYL: 1 << 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue