made and and or operators short circuits
This commit is contained in:
@@ -4,9 +4,15 @@
|
||||
1 and 2;
|
||||
|
||||
#bytecode
|
||||
|
||||
|
||||
PUSHINT 1;
|
||||
JUMPIFNOTANDPOP false;
|
||||
PUSHINT 2;
|
||||
AND;
|
||||
JUMPIFNOTANDPOP false;
|
||||
PUSHTRU;
|
||||
JUMP end;
|
||||
false:
|
||||
PUSHFLS;
|
||||
end:
|
||||
POP 1;
|
||||
RETURN 0;
|
||||
Reference in New Issue
Block a user