blob: b62828872b97184407c6972c5ee8a26932d15a38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Golden test output of SBECodeFragmentTest/LabelJumpFalse
==== VARIATION basic sanity check
-- CODE:
[0x0000-0x003a]
0x0000: pushConstVal(value: 10);
0x000a: pushConstVal(value: true);
0x0014: jmpFalse(target: 0x0019);
0x0019: pushConstVal(value: false);
0x0023: jmpFalse(target: 0x002d);
0x0028: jmp(target: 0x0019);
0x002d: pushConstVal(value: 20);
0x0037: sub(popLhs: 1, offsetLhs: 0, popRhs: 1, offsetRhs: 0);
-- RESULT:
-10
|