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