summaryrefslogtreecommitdiff
path: root/src/mongo/db/test_output/exec/sbe/s_b_e_if_test/simple_if.txt
blob: 0ff0ab40bfaf8a47eb03bd8311589caffca5c040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Golden test output of SBEIfTest/SimpleIf
-- INPUT EXPRESSION:

    if s1 
    then "then" 
    else "else" 


-- COMPILED EXPRESSION:
[0x0000-0x002c]
0x0000: pushAccessVal(accessor: <accessor>);
0x0009: jmpNothing(target: 0x002c);
0x000e: jmpTrue(target: 0x0022);
0x0013: pushConstVal(value: "else");
0x001d: jmp(target: 0x002c);
0x0022: pushConstVal(value: "then");


-- EXECUTE VARIATION:
SLOTS: [1: Nothing]
RESULT: Nothing

-- EXECUTE VARIATION:
SLOTS: [1: false]
RESULT: "else"

-- EXECUTE VARIATION:
SLOTS: [1: true]
RESULT: "then"