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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 handlers: [ | 73 handlers: [ |
74 ] | 74 ] |
75 | 75 |
76 --- | 76 --- |
77 snippet: " | 77 snippet: " |
78 function f(a, ...restArgs) { return restArgs[0] + arguments[0]; } | 78 function f(a, ...restArgs) { return restArgs[0] + arguments[0]; } |
79 f(); | 79 f(); |
80 " | 80 " |
81 frame size: 4 | 81 frame size: 4 |
82 parameter count: 2 | 82 parameter count: 2 |
83 bytecode array length: 26 | 83 bytecode array length: 27 |
84 bytecodes: [ | 84 bytecodes: [ |
85 B(CreateUnmappedArguments), | 85 B(CreateUnmappedArguments), |
86 B(Star), R(2), | 86 B(Star), R(2), |
87 B(CreateRestParameter), | 87 B(CreateRestParameter), |
88 B(Star), R(0), | 88 B(Star), R(0), |
89 B(LdaTheHole), | 89 B(LdaTheHole), |
90 B(Star), R(1), | 90 B(Star), R(1), |
91 /* 10 E> */ B(StackCheck), | 91 /* 10 E> */ B(StackCheck), |
92 B(Mov), R(arg0), R(1), | 92 B(Mov), R(arg0), R(1), |
93 /* 29 S> */ B(LdaZero), | 93 /* 29 S> */ B(LdaZero), |
94 /* 44 E> */ B(LdrKeyedProperty), R(0), U8(2), R(3), | 94 /* 44 E> */ B(LdaKeyedProperty), R(0), U8(2), |
| 95 B(Star), R(3), |
95 B(LdaZero), | 96 B(LdaZero), |
96 /* 59 E> */ B(LdaKeyedProperty), R(2), U8(4), | 97 /* 59 E> */ B(LdaKeyedProperty), R(2), U8(4), |
97 B(Add), R(3), U8(6), | 98 B(Add), R(3), U8(6), |
98 /* 64 S> */ B(Return), | 99 /* 64 S> */ B(Return), |
99 ] | 100 ] |
100 constant pool: [ | 101 constant pool: [ |
101 ] | 102 ] |
102 handlers: [ | 103 handlers: [ |
103 ] | 104 ] |
104 | 105 |
OLD | NEW |