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 return { }; | 10 return { }; |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 ] | 328 ] |
329 handlers: [ | 329 handlers: [ |
330 ] | 330 ] |
331 | 331 |
332 --- | 332 --- |
333 snippet: " | 333 snippet: " |
334 var a = 'test'; return { [a]: 1, __proto__: {} }; | 334 var a = 'test'; return { [a]: 1, __proto__: {} }; |
335 " | 335 " |
336 frame size: 5 | 336 frame size: 5 |
337 parameter count: 1 | 337 parameter count: 1 |
338 bytecode array length: 40 | 338 bytecode array length: 38 |
339 bytecodes: [ | 339 bytecodes: [ |
340 /* 30 E> */ B(StackCheck), | 340 /* 30 E> */ B(StackCheck), |
341 /* 42 S> */ B(LdaConstant), U8(0), | 341 /* 42 S> */ B(LdaConstant), U8(0), |
342 B(Star), R(0), | 342 B(Star), R(0), |
343 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(4), U8(19), R(1), | 343 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(4), U8(19), R(1), |
344 /* 60 E> */ B(ToName), R(2), | 344 /* 60 E> */ B(ToName), R(2), |
345 B(LdaSmi), I8(1), | 345 B(LdaSmi), I8(1), |
346 B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(5), | 346 B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(5), |
347 B(CreateObjectLiteral), U8(1), U8(3), U8(19), R(4), | 347 B(CreateObjectLiteral), U8(1), U8(3), U8(19), R(4), |
348 B(Star), R(3), | |
349 B(Mov), R(1), R(2), | 348 B(Mov), R(1), R(2), |
350 B(Mov), R(4), R(3), | 349 B(Mov), R(4), R(3), |
351 B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(2), U8(2)
, | 350 B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(2), U8(2)
, |
352 B(Ldar), R(2), | 351 B(Ldar), R(2), |
353 /* 84 S> */ B(Return), | 352 /* 84 S> */ B(Return), |
354 ] | 353 ] |
355 constant pool: [ | 354 constant pool: [ |
356 ONE_BYTE_INTERNALIZED_STRING_TYPE ["test"], | 355 ONE_BYTE_INTERNALIZED_STRING_TYPE ["test"], |
357 FIXED_ARRAY_TYPE, | 356 FIXED_ARRAY_TYPE, |
358 ] | 357 ] |
359 handlers: [ | 358 handlers: [ |
360 ] | 359 ] |
361 | 360 |
362 --- | 361 --- |
363 snippet: " | 362 snippet: " |
364 var n = 'name'; return { [n]: 'val', get a() { }, set a(b) {} }; | 363 var n = 'name'; return { [n]: 'val', get a() { }, set a(b) {} }; |
365 " | 364 " |
366 frame size: 6 | 365 frame size: 6 |
367 parameter count: 1 | 366 parameter count: 1 |
368 bytecode array length: 63 | 367 bytecode array length: 61 |
369 bytecodes: [ | 368 bytecodes: [ |
370 /* 30 E> */ B(StackCheck), | 369 /* 30 E> */ B(StackCheck), |
371 /* 42 S> */ B(LdaConstant), U8(0), | 370 /* 42 S> */ B(LdaConstant), U8(0), |
372 B(Star), R(0), | 371 B(Star), R(0), |
373 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(5), U8(19), R(1), | 372 /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(5), U8(19), R(1), |
374 /* 60 E> */ B(ToName), R(2), | 373 /* 60 E> */ B(ToName), R(2), |
375 B(LdaConstant), U8(2), | 374 B(LdaConstant), U8(2), |
376 B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(6), | 375 B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(6), |
377 B(Star), R(3), | |
378 B(LdaConstant), U8(3), | 376 B(LdaConstant), U8(3), |
379 B(Star), R(3), | 377 B(Star), R(3), |
380 B(CreateClosure), U8(4), U8(3), U8(2), | 378 B(CreateClosure), U8(4), U8(3), U8(2), |
381 B(Star), R(4), | 379 B(Star), R(4), |
382 B(LdaZero), | 380 B(LdaZero), |
383 B(Star), R(5), | 381 B(Star), R(5), |
384 B(Mov), R(1), R(2), | 382 B(Mov), R(1), R(2), |
385 B(CallRuntime), U16(Runtime::kDefineGetterPropertyUnchecked), R(
2), U8(4), | 383 B(CallRuntime), U16(Runtime::kDefineGetterPropertyUnchecked), R(
2), U8(4), |
386 B(LdaConstant), U8(3), | 384 B(LdaConstant), U8(3), |
387 B(Star), R(3), | 385 B(Star), R(3), |
388 B(CreateClosure), U8(5), U8(4), U8(2), | 386 B(CreateClosure), U8(5), U8(4), U8(2), |
389 B(Star), R(4), | 387 B(Star), R(4), |
390 B(LdaZero), | 388 B(LdaZero), |
391 B(Star), R(5), | 389 B(Star), R(5), |
392 B(CallRuntime), U16(Runtime::kDefineSetterPropertyUnchecked), R(
2), U8(4), | 390 B(CallRuntime), U16(Runtime::kDefineSetterPropertyUnchecked), R(
2), U8(4), |
393 B(Ldar), R(2), | 391 B(Ldar), R(2), |
394 /* 99 S> */ B(Return), | 392 /* 99 S> */ B(Return), |
395 ] | 393 ] |
396 constant pool: [ | 394 constant pool: [ |
397 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"], | 395 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"], |
398 FIXED_ARRAY_TYPE, | 396 FIXED_ARRAY_TYPE, |
399 ONE_BYTE_INTERNALIZED_STRING_TYPE ["val"], | 397 ONE_BYTE_INTERNALIZED_STRING_TYPE ["val"], |
400 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], | 398 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
401 SHARED_FUNCTION_INFO_TYPE, | 399 SHARED_FUNCTION_INFO_TYPE, |
402 SHARED_FUNCTION_INFO_TYPE, | 400 SHARED_FUNCTION_INFO_TYPE, |
403 ] | 401 ] |
404 handlers: [ | 402 handlers: [ |
405 ] | 403 ] |
406 | 404 |
OLD | NEW |