| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 execute: yes | 6 execute: yes |
| 7 wrap: no | 7 wrap: no |
| 8 test function name: f | 8 test function name: f |
| 9 | 9 |
| 10 --- | 10 --- |
| 11 snippet: " | 11 snippet: " |
| 12 function t() { } | 12 function t() { } |
| 13 function f() { return t(); } | 13 function f() { return t(); } |
| 14 f(); | 14 f(); |
| 15 " | 15 " |
| 16 frame size: 2 | 16 frame size: 2 |
| 17 parameter count: 1 | 17 parameter count: 1 |
| 18 bytecode array length: 12 | 18 bytecode array length: 12 |
| 19 bytecodes: [ | 19 bytecodes: [ |
| 20 /* 27 E> */ B(StackCheck), | 20 /* 27 E> */ B(StackCheck), |
| 21 /* 32 S> */ B(LdrUndefined), R(1), | 21 /* 32 S> */ B(LdrUndefined), R(1), |
| 22 B(LdrGlobal), U8(3), R(0), | 22 B(LdrGlobal), U8(4), R(0), |
| 23 /* 39 E> */ B(Call), R(0), R(1), U8(1), U8(1), | 23 /* 39 E> */ B(Call), R(0), R(1), U8(1), U8(2), |
| 24 /* 44 S> */ B(Return), | 24 /* 44 S> */ B(Return), |
| 25 ] | 25 ] |
| 26 constant pool: [ | 26 constant pool: [ |
| 27 ] | 27 ] |
| 28 handlers: [ | 28 handlers: [ |
| 29 ] | 29 ] |
| 30 | 30 |
| 31 --- | 31 --- |
| 32 snippet: " | 32 snippet: " |
| 33 function t(a, b, c) { } | 33 function t(a, b, c) { } |
| 34 function f() { return t(1, 2, 3); } | 34 function f() { return t(1, 2, 3); } |
| 35 f(); | 35 f(); |
| 36 " | 36 " |
| 37 frame size: 5 | 37 frame size: 5 |
| 38 parameter count: 1 | 38 parameter count: 1 |
| 39 bytecode array length: 24 | 39 bytecode array length: 24 |
| 40 bytecodes: [ | 40 bytecodes: [ |
| 41 /* 34 E> */ B(StackCheck), | 41 /* 34 E> */ B(StackCheck), |
| 42 /* 39 S> */ B(LdrUndefined), R(1), | 42 /* 39 S> */ B(LdrUndefined), R(1), |
| 43 B(LdrGlobal), U8(3), R(0), | 43 B(LdrGlobal), U8(4), R(0), |
| 44 B(LdaSmi), U8(1), | 44 B(LdaSmi), U8(1), |
| 45 B(Star), R(2), | 45 B(Star), R(2), |
| 46 B(LdaSmi), U8(2), | 46 B(LdaSmi), U8(2), |
| 47 B(Star), R(3), | 47 B(Star), R(3), |
| 48 B(LdaSmi), U8(3), | 48 B(LdaSmi), U8(3), |
| 49 B(Star), R(4), | 49 B(Star), R(4), |
| 50 /* 46 E> */ B(Call), R(0), R(1), U8(4), U8(1), | 50 /* 46 E> */ B(Call), R(0), R(1), U8(4), U8(2), |
| 51 /* 58 S> */ B(Return), | 51 /* 58 S> */ B(Return), |
| 52 ] | 52 ] |
| 53 constant pool: [ | 53 constant pool: [ |
| 54 ] | 54 ] |
| 55 handlers: [ | 55 handlers: [ |
| 56 ] | 56 ] |
| 57 | 57 |
| OLD | NEW |