OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 pool type: mixed | |
7 execute: yes | 6 execute: yes |
8 wrap: yes | 7 wrap: yes |
9 | 8 |
10 --- | 9 --- |
11 snippet: " | 10 snippet: " |
12 var x = 0; | 11 var x = 0; |
13 label: { | 12 label: { |
14 x = x + 1; | 13 x = x + 1; |
15 break label; | 14 break label; |
16 x = x + 1; | 15 x = x + 1; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 /* 53 S> */ B(LdaSmi), U8(10), | 115 /* 53 S> */ B(LdaSmi), U8(10), |
117 /* 53 E> */ B(StaContextSlot), R(context), U8(4), | 116 /* 53 E> */ B(StaContextSlot), R(context), U8(4), |
118 B(Mov), R(0), R(1), | 117 B(Mov), R(0), R(1), |
119 B(Ldar), R(0), | 118 B(Ldar), R(0), |
120 /* 88 S> */ B(Jump), U8(2), | 119 /* 88 S> */ B(Jump), U8(2), |
121 B(PopContext), R(2), | 120 B(PopContext), R(2), |
122 B(LdaUndefined), | 121 B(LdaUndefined), |
123 /* 103 S> */ B(Return), | 122 /* 103 S> */ B(Return), |
124 ] | 123 ] |
125 constant pool: [ | 124 constant pool: [ |
126 InstanceType::FIXED_ARRAY_TYPE, | 125 FIXED_ARRAY_TYPE, |
127 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 126 SHARED_FUNCTION_INFO_TYPE, |
128 ] | 127 ] |
129 handlers: [ | 128 handlers: [ |
130 ] | 129 ] |
131 | 130 |
132 --- | 131 --- |
133 snippet: " | 132 snippet: " |
134 let x = 1; | 133 let x = 1; |
135 outer: { | 134 outer: { |
136 inner: { | 135 inner: { |
137 let y = 2; | 136 let y = 2; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 B(JumpIfNotHole), U8(11), | 186 B(JumpIfNotHole), U8(11), |
188 B(LdaConstant), U8(3), | 187 B(LdaConstant), U8(3), |
189 B(Star), R(5), | 188 B(Star), R(5), |
190 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), | 189 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
191 B(Ldar), R(4), | 190 B(Ldar), R(4), |
192 B(StaContextSlot), R(context), U8(4), | 191 B(StaContextSlot), R(context), U8(4), |
193 B(LdaUndefined), | 192 B(LdaUndefined), |
194 /* 162 S> */ B(Return), | 193 /* 162 S> */ B(Return), |
195 ] | 194 ] |
196 constant pool: [ | 195 constant pool: [ |
197 InstanceType::FIXED_ARRAY_TYPE, | 196 FIXED_ARRAY_TYPE, |
198 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 197 SHARED_FUNCTION_INFO_TYPE, |
199 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 198 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y"], |
200 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 199 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
201 ] | 200 ] |
202 handlers: [ | 201 handlers: [ |
203 ] | 202 ] |
204 | 203 |
OLD | NEW |