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: number | 6 pool type: number |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
11 snippet: " | 11 snippet: " |
12 return 12345678; | 12 return 12345678; |
13 " | 13 " |
14 frame size: 0 | 14 frame size: 0 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 4 | 16 bytecode array length: 8 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(StackCheck), | 18 B(StackCheck), |
19 B(LdaConstant), U8(0), | 19 B(ExtraWide), B(LdaSmi), U32(12345678), |
20 B(Return), | 20 B(Return), |
21 ] | 21 ] |
22 constant pool: [ | 22 constant pool: [ |
23 12345678, | |
24 ] | 23 ] |
25 handlers: [ | 24 handlers: [ |
26 ] | 25 ] |
27 | 26 |
28 --- | 27 --- |
29 snippet: " | 28 snippet: " |
30 var a = 1234; return 5678; | 29 var a = 1234; return 5678; |
31 " | 30 " |
32 frame size: 1 | 31 frame size: 1 |
33 parameter count: 1 | 32 parameter count: 1 |
34 bytecode array length: 8 | 33 bytecode array length: 12 |
35 bytecodes: [ | 34 bytecodes: [ |
36 B(StackCheck), | 35 B(StackCheck), |
37 B(LdaConstant), U8(0), | 36 B(Wide), B(LdaSmi), U16(1234), |
38 B(Star), R(0), | 37 B(Star), R(0), |
39 B(LdaConstant), U8(1), | 38 B(Wide), B(LdaSmi), U16(5678), |
40 B(Return), | 39 B(Return), |
41 ] | 40 ] |
42 constant pool: [ | 41 constant pool: [ |
43 1234, | |
44 5678, | |
45 ] | 42 ] |
46 handlers: [ | 43 handlers: [ |
47 ] | 44 ] |
48 | 45 |
49 --- | 46 --- |
50 snippet: " | 47 snippet: " |
51 var a = 1234; return 1234; | 48 var a = 1234; return 1234; |
52 " | 49 " |
53 frame size: 1 | 50 frame size: 1 |
54 parameter count: 1 | 51 parameter count: 1 |
55 bytecode array length: 8 | 52 bytecode array length: 12 |
56 bytecodes: [ | 53 bytecodes: [ |
57 B(StackCheck), | 54 B(StackCheck), |
58 B(LdaConstant), U8(0), | 55 B(Wide), B(LdaSmi), U16(1234), |
59 B(Star), R(0), | 56 B(Star), R(0), |
60 B(LdaConstant), U8(0), | 57 B(Wide), B(LdaSmi), U16(1234), |
61 B(Return), | 58 B(Return), |
62 ] | 59 ] |
63 constant pool: [ | 60 constant pool: [ |
64 1234, | |
65 ] | 61 ] |
66 handlers: [ | 62 handlers: [ |
67 ] | 63 ] |
68 | 64 |
OLD | NEW |