| 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: mixed | 6 pool type: mixed |
| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 --- | 50 --- |
| 51 snippet: " | 51 snippet: " |
| 52 function f() { return %Add(1, 2) } | 52 function f() { return %Add(1, 2) } |
| 53 f(); | 53 f(); |
| 54 " | 54 " |
| 55 frame size: 2 | 55 frame size: 2 |
| 56 parameter count: 1 | 56 parameter count: 1 |
| 57 bytecode array length: 15 | 57 bytecode array length: 15 |
| 58 bytecodes: [ | 58 bytecodes: [ |
| 59 B(StackCheck), | 59 B(StackCheck), |
| 60 B(LdaSmi8), U8(1), | 60 B(LdaSmi), U8(1), |
| 61 B(Star), R(0), | 61 B(Star), R(0), |
| 62 B(LdaSmi8), U8(2), | 62 B(LdaSmi), U8(2), |
| 63 B(Star), R(1), | 63 B(Star), R(1), |
| 64 B(CallRuntime), U16(Runtime::kAdd), R(0), U8(2), | 64 B(CallRuntime), U16(Runtime::kAdd), R(0), U8(2), |
| 65 B(Return), | 65 B(Return), |
| 66 ] | 66 ] |
| 67 constant pool: [ | 67 constant pool: [ |
| 68 ] | 68 ] |
| 69 handlers: [ | 69 handlers: [ |
| 70 ] | 70 ] |
| 71 | 71 |
| 72 --- | 72 --- |
| 73 snippet: " | 73 snippet: " |
| 74 function f() { return %spread_iterable([1]) } | 74 function f() { return %spread_iterable([1]) } |
| 75 f(); | 75 f(); |
| 76 " | 76 " |
| 77 frame size: 2 | 77 frame size: 2 |
| 78 parameter count: 1 | 78 parameter count: 1 |
| 79 bytecode array length: 16 | 79 bytecode array length: 15 |
| 80 bytecodes: [ | 80 bytecodes: [ |
| 81 B(StackCheck), | 81 B(StackCheck), |
| 82 B(LdaUndefined), | 82 B(LdaUndefined), |
| 83 B(Star), R(0), | 83 B(Star), R(0), |
| 84 B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 84 B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
| 85 B(Star), R(1), | 85 B(Star), R(1), |
| 86 B(CallJSRuntime), U16(116), R(0), U8(2), | 86 B(CallJSRuntime), U8(116), R(0), U8(2), |
| 87 B(Return), | 87 B(Return), |
| 88 ] | 88 ] |
| 89 constant pool: [ | 89 constant pool: [ |
| 90 InstanceType::FIXED_ARRAY_TYPE, | 90 InstanceType::FIXED_ARRAY_TYPE, |
| 91 ] | 91 ] |
| 92 handlers: [ | 92 handlers: [ |
| 93 ] | 93 ] |
| 94 | 94 |
| OLD | NEW |