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 | 7 |
8 --- | 8 --- |
9 snippet: " | 9 snippet: " |
10 var x = 0; | 10 var x = 0; |
11 label: { | 11 label: { |
12 x = x + 1; | 12 x = x + 1; |
13 break label; | 13 break label; |
14 x = x + 1; | 14 x = x + 1; |
15 } | 15 } |
16 return x; | 16 return x; |
17 " | 17 " |
18 frame size: 1 | 18 frame size: 1 |
19 parameter count: 1 | 19 parameter count: 1 |
20 bytecode array length: 15 | 20 bytecode array length: 16 |
21 bytecodes: [ | 21 bytecodes: [ |
22 /* 30 E> */ B(StackCheck), | 22 /* 30 E> */ B(StackCheck), |
23 /* 42 S> */ B(LdaZero), | 23 /* 42 S> */ B(LdaZero), |
24 B(Star), R(0), | 24 B(Star), R(0), |
25 /* 56 S> */ B(AddSmi), U8(1), R(0), U8(2), | 25 /* 56 S> */ B(LdaSmi), U8(1), |
| 26 /* 62 E> */ B(Add), R(0), U8(2), |
26 B(Star), R(0), | 27 B(Star), R(0), |
27 /* 69 S> */ B(Jump), U8(2), | 28 /* 69 S> */ B(Jump), U8(2), |
28 /* 97 S> */ B(Ldar), R(0), | 29 /* 97 S> */ B(Ldar), R(0), |
29 /* 107 S> */ B(Return), | 30 /* 107 S> */ B(Return), |
30 ] | 31 ] |
31 constant pool: [ | 32 constant pool: [ |
32 ] | 33 ] |
33 handlers: [ | 34 handlers: [ |
34 ] | 35 ] |
35 | 36 |
(...skipping 26 matching lines...) Expand all Loading... |
62 /* 106 S> */ B(LdaZero), | 63 /* 106 S> */ B(LdaZero), |
63 B(Star), R(2), | 64 B(Star), R(2), |
64 /* 111 S> */ B(LdaSmi), U8(3), | 65 /* 111 S> */ B(LdaSmi), U8(3), |
65 /* 111 E> */ B(TestLessThan), R(2), U8(4), | 66 /* 111 E> */ B(TestLessThan), R(2), U8(4), |
66 B(JumpIfFalse), U8(34), | 67 B(JumpIfFalse), U8(34), |
67 /* 93 E> */ B(StackCheck), | 68 /* 93 E> */ B(StackCheck), |
68 /* 129 S> */ B(Ldar), R(0), | 69 /* 129 S> */ B(Ldar), R(0), |
69 B(Inc), U8(6), | 70 B(Inc), U8(6), |
70 B(Star), R(0), | 71 B(Star), R(0), |
71 /* 142 S> */ B(Ldar), R(2), | 72 /* 142 S> */ B(Ldar), R(2), |
72 /* 150 E> */ B(Add), R(1), U8(7), | 73 /* 148 E> */ B(Add), R(1), U8(7), |
73 B(Star), R(3), | 74 B(Star), R(3), |
74 B(LdaSmi), U8(12), | 75 B(LdaSmi), U8(12), |
75 /* 152 E> */ B(TestEqual), R(3), U8(8), | 76 /* 152 E> */ B(TestEqual), R(3), U8(8), |
76 B(JumpIfFalse), U8(4), | 77 B(JumpIfFalse), U8(4), |
77 /* 161 S> */ B(Jump), U8(20), | 78 /* 161 S> */ B(Jump), U8(20), |
78 /* 118 S> */ B(Ldar), R(2), | 79 /* 118 S> */ B(Ldar), R(2), |
79 B(Inc), U8(5), | 80 B(Inc), U8(5), |
80 B(Star), R(2), | 81 B(Star), R(2), |
81 B(JumpLoop), U8(-36), U8(1), | 82 B(JumpLoop), U8(-36), U8(1), |
82 /* 84 S> */ B(Ldar), R(1), | 83 /* 84 S> */ B(Ldar), R(1), |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 B(LdaUndefined), | 174 B(LdaUndefined), |
174 /* 162 S> */ B(Return), | 175 /* 162 S> */ B(Return), |
175 ] | 176 ] |
176 constant pool: [ | 177 constant pool: [ |
177 FIXED_ARRAY_TYPE, | 178 FIXED_ARRAY_TYPE, |
178 SHARED_FUNCTION_INFO_TYPE, | 179 SHARED_FUNCTION_INFO_TYPE, |
179 ] | 180 ] |
180 handlers: [ | 181 handlers: [ |
181 ] | 182 ] |
182 | 183 |
OLD | NEW |