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: string | 6 pool type: string |
7 execute: yes | 7 execute: yes |
8 wrap: no | 8 wrap: no |
9 test function name: f | 9 test function name: f |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 handlers: [ | 54 handlers: [ |
55 ] | 55 ] |
56 | 56 |
57 --- | 57 --- |
58 snippet: " | 58 snippet: " |
59 function f(a, b) { return a.func(b + b, b); } | 59 function f(a, b) { return a.func(b + b, b); } |
60 f(new (function Obj() { this.func = function() { return; }})(), 1) | 60 f(new (function Obj() { this.func = function() { return; }})(), 1) |
61 " | 61 " |
62 frame size: 4 | 62 frame size: 4 |
63 parameter count: 3 | 63 parameter count: 3 |
64 bytecode array length: 25 | 64 bytecode array length: 26 |
65 bytecodes: [ | 65 bytecodes: [ |
66 /* 10 E> */ B(StackCheck), | 66 /* 10 E> */ B(StackCheck), |
67 /* 19 S> */ B(Nop), | 67 /* 19 S> */ B(Nop), |
68 /* 27 E> */ B(LdrNamedProperty), R(arg0), U8(0), U8(3), R(0), | 68 /* 27 E> */ B(LdrNamedProperty), R(arg0), U8(0), U8(3), R(0), |
69 B(Ldar), R(arg1), | 69 B(Ldar), R(arg1), |
70 /* 37 E> */ B(Add), R(arg1), | 70 /* 37 E> */ B(Add), R(arg1), U8(5), |
71 B(Star), R(2), | 71 B(Star), R(2), |
72 B(Mov), R(arg0), R(1), | 72 B(Mov), R(arg0), R(1), |
73 B(Mov), R(arg1), R(3), | 73 B(Mov), R(arg1), R(3), |
74 /* 28 E> */ B(Call), R(0), R(1), U8(3), U8(1), | 74 /* 28 E> */ B(Call), R(0), R(1), U8(3), U8(1), |
75 /* 44 S> */ B(Return), | 75 /* 44 S> */ B(Return), |
76 ] | 76 ] |
77 constant pool: [ | 77 constant pool: [ |
78 "func", | 78 "func", |
79 ] | 79 ] |
80 handlers: [ | 80 handlers: [ |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 /* 1177 E> */ B(Wide), B(LdrNamedProperty), R16(arg0), U16(0), U16(259), R16(0
), | 479 /* 1177 E> */ B(Wide), B(LdrNamedProperty), R16(arg0), U16(0), U16(259), R16(0
), |
480 /* 1178 E> */ B(Wide), B(Call), R16(0), R16(arg0), U16(1), U16(257), | 480 /* 1178 E> */ B(Wide), B(Call), R16(0), R16(arg0), U16(1), U16(257), |
481 /* 1186 S> */ B(Return), | 481 /* 1186 S> */ B(Return), |
482 ] | 482 ] |
483 constant pool: [ | 483 constant pool: [ |
484 "func", | 484 "func", |
485 ] | 485 ] |
486 handlers: [ | 486 handlers: [ |
487 ] | 487 ] |
488 | 488 |
OLD | NEW |