OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: no | 6 wrap: no |
7 test function name: f | 7 test function name: f |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 B(Star), R(0), | 480 B(Star), R(0), |
481 /* 1178 E> */ B(Wide), B(CallProperty), R16(0), R16(arg0), U16(1), U16(258), | 481 /* 1178 E> */ B(Wide), B(CallProperty), R16(0), R16(arg0), U16(1), U16(258), |
482 /* 1186 S> */ B(Return), | 482 /* 1186 S> */ B(Return), |
483 ] | 483 ] |
484 constant pool: [ | 484 constant pool: [ |
485 ONE_BYTE_INTERNALIZED_STRING_TYPE ["func"], | 485 ONE_BYTE_INTERNALIZED_STRING_TYPE ["func"], |
486 ] | 486 ] |
487 handlers: [ | 487 handlers: [ |
488 ] | 488 ] |
489 | 489 |
| 490 --- |
| 491 snippet: " |
| 492 function f(a) { return a.func(1).func(2).func(3); } |
| 493 f(new (function Obj() { this.func = function(a) { return this; }})()) |
| 494 " |
| 495 frame size: 5 |
| 496 parameter count: 2 |
| 497 bytecode array length: 55 |
| 498 bytecodes: [ |
| 499 /* 10 E> */ B(StackCheck), |
| 500 /* 16 S> */ B(Nop), |
| 501 /* 24 E> */ B(LdaNamedProperty), R(arg0), U8(0), U8(8), |
| 502 B(Star), R(2), |
| 503 B(LdaSmi), U8(1), |
| 504 B(Star), R(4), |
| 505 B(Mov), R(arg0), R(3), |
| 506 /* 25 E> */ B(CallProperty), R(2), R(3), U8(2), U8(6), |
| 507 B(Star), R(2), |
| 508 /* 32 E> */ B(LdaNamedProperty), R(2), U8(0), U8(10), |
| 509 B(Star), R(1), |
| 510 B(LdaSmi), U8(2), |
| 511 B(Star), R(3), |
| 512 /* 33 E> */ B(CallProperty), R(1), R(2), U8(2), U8(4), |
| 513 B(Star), R(1), |
| 514 /* 40 E> */ B(LdaNamedProperty), R(1), U8(0), U8(12), |
| 515 B(Star), R(0), |
| 516 B(LdaSmi), U8(3), |
| 517 B(Star), R(2), |
| 518 /* 41 E> */ B(CallProperty), R(0), R(1), U8(2), U8(2), |
| 519 /* 50 S> */ B(Return), |
| 520 ] |
| 521 constant pool: [ |
| 522 ONE_BYTE_INTERNALIZED_STRING_TYPE ["func"], |
| 523 ] |
| 524 handlers: [ |
| 525 ] |
| 526 |
OLD | NEW |