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