mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix IF:<{ and IFNOT:<{ empty continuation case
The boolean value should be DROPped in the case the continuation is empty.
This commit is contained in:
parent
45a160d7c1
commit
34590176eb
1 changed files with 2 additions and 2 deletions
|
@ -694,9 +694,9 @@ x{E30F} @Defop(ref*2) IFREFELSEREF
|
||||||
[] execute
|
[] execute
|
||||||
} : @run-cont-op
|
} : @run-cont-op
|
||||||
{ triple 1 ' @run-cont-op does create } : @def-cont-op
|
{ triple 1 ' @run-cont-op does create } : @def-cont-op
|
||||||
{ } { PUSHCONT IF } { IFREF } @def-cont-op IF-cont
|
{ DROP } { PUSHCONT IF } { IFREF } @def-cont-op IF-cont
|
||||||
{ IFRET } { PUSHCONT IFJMP } { IFJMPREF } @def-cont-op IFJMP-cont
|
{ IFRET } { PUSHCONT IFJMP } { IFJMPREF } @def-cont-op IFJMP-cont
|
||||||
{ } { PUSHCONT IFNOT } { IFNOTREF } @def-cont-op IFNOT-cont
|
{ DROP } { PUSHCONT IFNOT } { IFNOTREF } @def-cont-op IFNOT-cont
|
||||||
{ IFNOTRET } { PUSHCONT IFNOTJMP } { IFNOTJMPREF } @def-cont-op IFNOTJMP-cont
|
{ IFNOTRET } { PUSHCONT IFNOTJMP } { IFNOTJMPREF } @def-cont-op IFNOTJMP-cont
|
||||||
{ dup 2over rot } : 3dup
|
{ dup 2over rot } : 3dup
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue