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