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