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 | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 ] | 194 ] |
195 | 195 |
196 --- | 196 --- |
197 snippet: " | 197 snippet: " |
198 var count = 0; | 198 var count = 0; |
199 class C { constructor() { count++; }} | 199 class C { constructor() { count++; }} |
200 return new C(); | 200 return new C(); |
201 " | 201 " |
202 frame size: 10 | 202 frame size: 10 |
203 parameter count: 1 | 203 parameter count: 1 |
204 bytecode array length: 74 | 204 bytecode array length: 76 |
205 bytecodes: [ | 205 bytecodes: [ |
206 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), | 206 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
207 B(PushContext), R(2), | 207 B(PushContext), R(2), |
208 B(LdaTheHole), | 208 B(LdaTheHole), |
209 B(Star), R(1), | 209 B(Star), R(1), |
210 B(StackCheck), | 210 B(StackCheck), |
211 B(LdaZero), | 211 B(LdaZero), |
212 B(StaContextSlot), R(context), U8(4), | 212 B(StaContextSlot), R(context), U8(4), |
213 B(LdaTheHole), | 213 B(LdaTheHole), |
214 B(Star), R(0), | 214 B(Star), R(0), |
(...skipping 11 matching lines...) Expand all Loading... |
226 B(Star), R(4), | 226 B(Star), R(4), |
227 B(CallRuntime), U16(Runtime::kFinalizeClassDefinition), R(3), U8(2), | 227 B(CallRuntime), U16(Runtime::kFinalizeClassDefinition), R(3), U8(2), |
228 B(Star), R(0), | 228 B(Star), R(0), |
229 B(Star), R(1), | 229 B(Star), R(1), |
230 B(JumpIfNotHole), U8(11), | 230 B(JumpIfNotHole), U8(11), |
231 B(LdaConstant), U8(2), | 231 B(LdaConstant), U8(2), |
232 B(Star), R(4), | 232 B(Star), R(4), |
233 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 233 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
234 B(Star), R(3), | 234 B(Star), R(3), |
235 B(New), R(3), R(0), U8(0), | 235 B(New), R(3), R(0), U8(0), |
| 236 B(PopContext), R(2), |
236 B(Return), | 237 B(Return), |
237 ] | 238 ] |
238 constant pool: [ | 239 constant pool: [ |
239 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 240 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
240 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 241 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
241 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 242 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
242 ] | 243 ] |
243 handlers: [ | 244 handlers: [ |
244 ] | 245 ] |
245 | 246 |
OLD | NEW |