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 18 matching lines...) Expand all Loading... |
29 handlers: [ | 29 handlers: [ |
30 ] | 30 ] |
31 | 31 |
32 --- | 32 --- |
33 snippet: " | 33 snippet: " |
34 function f(a, b, c) { return a.func(b, c); } | 34 function f(a, b, c) { return a.func(b, c); } |
35 f(new (function Obj() { this.func = function() { return; }})(), 1, 2) | 35 f(new (function Obj() { this.func = function() { return; }})(), 1, 2) |
36 " | 36 " |
37 frame size: 4 | 37 frame size: 4 |
38 parameter count: 4 | 38 parameter count: 4 |
39 bytecode array length: 25 | 39 bytecode array length: 24 |
40 bytecodes: [ | 40 bytecodes: [ |
41 /* 10 E> */ B(StackCheck), | 41 /* 10 E> */ B(StackCheck), |
42 /* 22 S> */ B(Nop), | 42 /* 22 S> */ B(Nop), |
43 /* 30 E> */ B(LdrNamedProperty), R(arg0), U8(0), U8(3), R(0), | 43 /* 30 E> */ B(LdrNamedProperty), R(arg0), U8(0), U8(3), R(0), |
44 B(Ldar), R(0), | 44 B(Ldar), R(0), |
45 /* 36 E> */ B(Nop), | 45 B(Mov), R(arg0), R(1), |
46 /* 39 E> */ B(Mov), R(arg0), R(1), | |
47 B(Mov), R(arg1), R(2), | 46 B(Mov), R(arg1), R(2), |
48 B(Mov), R(arg2), R(3), | 47 B(Mov), R(arg2), R(3), |
49 /* 31 E> */ B(Call), R(0), R(1), U8(3), U8(1), | 48 /* 31 E> */ B(Call), R(0), R(1), U8(3), U8(1), |
50 /* 43 S> */ B(Return), | 49 /* 43 S> */ B(Return), |
51 ] | 50 ] |
52 constant pool: [ | 51 constant pool: [ |
53 "func", | 52 "func", |
54 ] | 53 ] |
55 handlers: [ | 54 handlers: [ |
56 ] | 55 ] |
57 | 56 |
58 --- | 57 --- |
59 snippet: " | 58 snippet: " |
60 function f(a, b) { return a.func(b + b, b); } | 59 function f(a, b) { return a.func(b + b, b); } |
61 f(new (function Obj() { this.func = function() { return; }})(), 1) | 60 f(new (function Obj() { this.func = function() { return; }})(), 1) |
62 " | 61 " |
63 frame size: 4 | 62 frame size: 4 |
64 parameter count: 3 | 63 parameter count: 3 |
65 bytecode array length: 28 | 64 bytecode array length: 25 |
66 bytecodes: [ | 65 bytecodes: [ |
67 /* 10 E> */ B(StackCheck), | 66 /* 10 E> */ B(StackCheck), |
68 /* 19 S> */ B(Nop), | 67 /* 19 S> */ B(Nop), |
69 /* 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), |
70 B(Ldar), R(0), | 69 B(Ldar), R(arg1), |
71 /* 33 E> */ B(Nop), | 70 /* 37 E> */ B(Add), R(arg1), |
72 /* 37 E> */ B(Ldar), R(arg1), | |
73 B(Add), R(arg1), | |
74 B(Star), R(2), | 71 B(Star), R(2), |
75 /* 40 E> */ B(Mov), R(arg0), R(1), | 72 B(Mov), R(arg0), R(1), |
76 B(Mov), R(arg1), R(3), | 73 B(Mov), R(arg1), R(3), |
77 /* 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), |
78 /* 44 S> */ B(Return), | 75 /* 44 S> */ B(Return), |
79 ] | 76 ] |
80 constant pool: [ | 77 constant pool: [ |
81 "func", | 78 "func", |
82 ] | 79 ] |
83 handlers: [ | 80 handlers: [ |
84 ] | 81 ] |
85 | 82 |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 /* 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
), |
483 /* 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), |
484 /* 1186 S> */ B(Return), | 481 /* 1186 S> */ B(Return), |
485 ] | 482 ] |
486 constant pool: [ | 483 constant pool: [ |
487 "func", | 484 "func", |
488 ] | 485 ] |
489 handlers: [ | 486 handlers: [ |
490 ] | 487 ] |
491 | 488 |
OLD | NEW |