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