OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: yes | 6 wrap: yes |
7 do expressions: yes | 7 do expressions: yes |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
(...skipping 12 matching lines...) Expand all Loading... |
23 ] | 23 ] |
24 handlers: [ | 24 handlers: [ |
25 ] | 25 ] |
26 | 26 |
27 --- | 27 --- |
28 snippet: " | 28 snippet: " |
29 var a = do { var x = 100; }; return a; | 29 var a = do { var x = 100; }; return a; |
30 " | 30 " |
31 frame size: 3 | 31 frame size: 3 |
32 parameter count: 1 | 32 parameter count: 1 |
33 bytecode array length: 13 | 33 bytecode array length: 12 |
34 bytecodes: [ | 34 bytecodes: [ |
35 /* 30 E> */ B(StackCheck), | 35 /* 30 E> */ B(StackCheck), |
36 /* 55 S> */ B(LdaSmi), U8(100), | 36 /* 55 S> */ B(LdaSmi), U8(100), |
37 B(Star), R(0), | 37 B(Star), R(0), |
38 /* 42 S> */ B(LdrUndefined), R(1), | 38 /* 42 S> */ B(LdaUndefined), |
39 B(Ldar), R(1), | 39 B(Star), R(1), |
40 B(Star), R(2), | 40 B(Star), R(2), |
41 /* 63 S> */ B(Nop), | 41 /* 63 S> */ B(Nop), |
42 /* 73 S> */ B(Return), | 42 /* 73 S> */ B(Return), |
43 ] | 43 ] |
44 constant pool: [ | 44 constant pool: [ |
45 ] | 45 ] |
46 handlers: [ | 46 handlers: [ |
47 ] | 47 ] |
48 | 48 |
49 --- | 49 --- |
(...skipping 13 matching lines...) Expand all Loading... |
63 B(Star), R(1), | 63 B(Star), R(1), |
64 /* 74 S> */ B(Jump), U8(2), | 64 /* 74 S> */ B(Jump), U8(2), |
65 B(LdaUndefined), | 65 B(LdaUndefined), |
66 /* 94 S> */ B(Return), | 66 /* 94 S> */ B(Return), |
67 ] | 67 ] |
68 constant pool: [ | 68 constant pool: [ |
69 ] | 69 ] |
70 handlers: [ | 70 handlers: [ |
71 ] | 71 ] |
72 | 72 |
OLD | NEW |