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: mixed | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 --- | 28 --- |
29 snippet: " | 29 snippet: " |
30 var a = 1; return [ a, a + 1 ]; | 30 var a = 1; return [ a, a + 1 ]; |
31 " | 31 " |
32 frame size: 4 | 32 frame size: 4 |
33 parameter count: 1 | 33 parameter count: 1 |
34 bytecode array length: 39 | 34 bytecode array length: 39 |
35 bytecodes: [ | 35 bytecodes: [ |
36 B(StackCheck), | 36 B(StackCheck), |
37 B(LdaSmi8), U8(1), | 37 B(LdaSmi), U8(1), |
38 B(Star), R(0), | 38 B(Star), R(0), |
39 B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 39 B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
40 B(Star), R(2), | 40 B(Star), R(2), |
41 B(LdaZero), | 41 B(LdaZero), |
42 B(Star), R(1), | 42 B(Star), R(1), |
43 B(Ldar), R(0), | 43 B(Ldar), R(0), |
44 B(KeyedStoreICSloppy), R(2), R(1), U8(1), | 44 B(KeyedStoreICSloppy), R(2), R(1), U8(1), |
45 B(LdaSmi8), U8(1), | 45 B(LdaSmi), U8(1), |
46 B(Star), R(1), | 46 B(Star), R(1), |
47 B(Ldar), R(0), | 47 B(Ldar), R(0), |
48 B(Star), R(3), | 48 B(Star), R(3), |
49 B(LdaSmi8), U8(1), | 49 B(LdaSmi), U8(1), |
50 B(Add), R(3), | 50 B(Add), R(3), |
51 B(KeyedStoreICSloppy), R(2), R(1), U8(1), | 51 B(KeyedStoreICSloppy), R(2), R(1), U8(1), |
52 B(Ldar), R(2), | 52 B(Ldar), R(2), |
53 B(Return), | 53 B(Return), |
54 ] | 54 ] |
55 constant pool: [ | 55 constant pool: [ |
56 InstanceType::FIXED_ARRAY_TYPE, | 56 InstanceType::FIXED_ARRAY_TYPE, |
57 ] | 57 ] |
58 handlers: [ | 58 handlers: [ |
59 ] | 59 ] |
(...skipping 18 matching lines...) Expand all Loading... |
78 | 78 |
79 --- | 79 --- |
80 snippet: " | 80 snippet: " |
81 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; | 81 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; |
82 " | 82 " |
83 frame size: 6 | 83 frame size: 6 |
84 parameter count: 1 | 84 parameter count: 1 |
85 bytecode array length: 69 | 85 bytecode array length: 69 |
86 bytecodes: [ | 86 bytecodes: [ |
87 B(StackCheck), | 87 B(StackCheck), |
88 B(LdaSmi8), U8(1), | 88 B(LdaSmi), U8(1), |
89 B(Star), R(0), | 89 B(Star), R(0), |
90 B(CreateArrayLiteral), U8(0), U8(2), U8(2), | 90 B(CreateArrayLiteral), U8(0), U8(2), U8(2), |
91 B(Star), R(2), | 91 B(Star), R(2), |
92 B(LdaZero), | 92 B(LdaZero), |
93 B(Star), R(1), | 93 B(Star), R(1), |
94 B(CreateArrayLiteral), U8(1), U8(0), U8(3), | 94 B(CreateArrayLiteral), U8(1), U8(0), U8(3), |
95 B(Star), R(4), | 95 B(Star), R(4), |
96 B(LdaZero), | 96 B(LdaZero), |
97 B(Star), R(3), | 97 B(Star), R(3), |
98 B(Ldar), R(0), | 98 B(Ldar), R(0), |
99 B(KeyedStoreICSloppy), R(4), R(3), U8(1), | 99 B(KeyedStoreICSloppy), R(4), R(3), U8(1), |
100 B(Ldar), R(4), | 100 B(Ldar), R(4), |
101 B(KeyedStoreICSloppy), R(2), R(1), U8(5), | 101 B(KeyedStoreICSloppy), R(2), R(1), U8(5), |
102 B(LdaSmi8), U8(1), | 102 B(LdaSmi), U8(1), |
103 B(Star), R(1), | 103 B(Star), R(1), |
104 B(CreateArrayLiteral), U8(2), U8(1), U8(3), | 104 B(CreateArrayLiteral), U8(2), U8(1), U8(3), |
105 B(Star), R(4), | 105 B(Star), R(4), |
106 B(LdaZero), | 106 B(LdaZero), |
107 B(Star), R(3), | 107 B(Star), R(3), |
108 B(Ldar), R(0), | 108 B(Ldar), R(0), |
109 B(Star), R(5), | 109 B(Star), R(5), |
110 B(LdaSmi8), U8(2), | 110 B(LdaSmi), U8(2), |
111 B(Add), R(5), | 111 B(Add), R(5), |
112 B(KeyedStoreICSloppy), R(4), R(3), U8(3), | 112 B(KeyedStoreICSloppy), R(4), R(3), U8(3), |
113 B(Ldar), R(4), | 113 B(Ldar), R(4), |
114 B(KeyedStoreICSloppy), R(2), R(1), U8(5), | 114 B(KeyedStoreICSloppy), R(2), R(1), U8(5), |
115 B(Ldar), R(2), | 115 B(Ldar), R(2), |
116 B(Return), | 116 B(Return), |
117 ] | 117 ] |
118 constant pool: [ | 118 constant pool: [ |
119 InstanceType::FIXED_ARRAY_TYPE, | 119 InstanceType::FIXED_ARRAY_TYPE, |
120 InstanceType::FIXED_ARRAY_TYPE, | 120 InstanceType::FIXED_ARRAY_TYPE, |
121 InstanceType::FIXED_ARRAY_TYPE, | 121 InstanceType::FIXED_ARRAY_TYPE, |
122 ] | 122 ] |
123 handlers: [ | 123 handlers: [ |
124 ] | 124 ] |
125 | 125 |
OLD | NEW |