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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 " | 99 " |
100 frame size: 3 | 100 frame size: 3 |
101 parameter count: 1 | 101 parameter count: 1 |
102 bytecode array length: 26 | 102 bytecode array length: 26 |
103 bytecodes: [ | 103 bytecodes: [ |
104 /* 30 E> */ B(StackCheck), | 104 /* 30 E> */ B(StackCheck), |
105 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 105 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
106 B(Star), R(1), | 106 B(Star), R(1), |
107 B(Star), R(0), | 107 B(Star), R(0), |
108 /* 54 S> */ B(Star), R(1), | 108 /* 54 S> */ B(Star), R(1), |
109 B(LoadIC), R(1), U8(1), U8(1), | 109 B(LdaNamedProperty), R(1), U8(1), U8(1), |
110 B(ToNumber), | 110 B(ToNumber), |
111 B(Star), R(2), | 111 B(Star), R(2), |
112 B(Inc), | 112 B(Inc), |
113 /* 66 E> */ B(StoreICSloppy), R(1), U8(1), U8(3), | 113 /* 66 E> */ B(StaNamedPropertySloppy), R(1), U8(1), U8(3), |
114 B(Ldar), R(2), | 114 B(Ldar), R(2), |
115 /* 70 S> */ B(Return), | 115 /* 70 S> */ B(Return), |
116 ] | 116 ] |
117 constant pool: [ | 117 constant pool: [ |
118 InstanceType::FIXED_ARRAY_TYPE, | 118 InstanceType::FIXED_ARRAY_TYPE, |
119 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 119 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
120 ] | 120 ] |
121 handlers: [ | 121 handlers: [ |
122 ] | 122 ] |
123 | 123 |
124 --- | 124 --- |
125 snippet: " | 125 snippet: " |
126 var a = { val: 1 }; return --a.val; | 126 var a = { val: 1 }; return --a.val; |
127 " | 127 " |
128 frame size: 2 | 128 frame size: 2 |
129 parameter count: 1 | 129 parameter count: 1 |
130 bytecode array length: 21 | 130 bytecode array length: 21 |
131 bytecodes: [ | 131 bytecodes: [ |
132 /* 30 E> */ B(StackCheck), | 132 /* 30 E> */ B(StackCheck), |
133 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), | 133 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
134 B(Star), R(1), | 134 B(Star), R(1), |
135 B(Star), R(0), | 135 B(Star), R(0), |
136 /* 54 S> */ B(Star), R(1), | 136 /* 54 S> */ B(Star), R(1), |
137 B(LoadIC), R(1), U8(1), U8(1), | 137 B(LdaNamedProperty), R(1), U8(1), U8(1), |
138 B(Dec), | 138 B(Dec), |
139 /* 65 E> */ B(StoreICSloppy), R(1), U8(1), U8(3), | 139 /* 65 E> */ B(StaNamedPropertySloppy), R(1), U8(1), U8(3), |
140 /* 70 S> */ B(Return), | 140 /* 70 S> */ B(Return), |
141 ] | 141 ] |
142 constant pool: [ | 142 constant pool: [ |
143 InstanceType::FIXED_ARRAY_TYPE, | 143 InstanceType::FIXED_ARRAY_TYPE, |
144 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 144 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
145 ] | 145 ] |
146 handlers: [ | 146 handlers: [ |
147 ] | 147 ] |
148 | 148 |
149 --- | 149 --- |
150 snippet: " | 150 snippet: " |
151 var name = 'var'; var a = { val: 1 }; return a[name]--; | 151 var name = 'var'; var a = { val: 1 }; return a[name]--; |
152 " | 152 " |
153 frame size: 5 | 153 frame size: 5 |
154 parameter count: 1 | 154 parameter count: 1 |
155 bytecode array length: 33 | 155 bytecode array length: 33 |
156 bytecodes: [ | 156 bytecodes: [ |
157 /* 30 E> */ B(StackCheck), | 157 /* 30 E> */ B(StackCheck), |
158 /* 45 S> */ B(LdaConstant), U8(0), | 158 /* 45 S> */ B(LdaConstant), U8(0), |
159 B(Star), R(0), | 159 B(Star), R(0), |
160 /* 60 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), | 160 /* 60 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), |
161 B(Star), R(2), | 161 B(Star), R(2), |
162 B(Star), R(1), | 162 B(Star), R(1), |
163 /* 72 S> */ B(Star), R(2), | 163 /* 72 S> */ B(Star), R(2), |
164 /* 81 E> */ B(Ldar), R(0), | 164 /* 81 E> */ B(Ldar), R(0), |
165 B(Star), R(3), | 165 B(Star), R(3), |
166 B(KeyedLoadIC), R(2), U8(1), | 166 B(LdaKeyedProperty), R(2), U8(1), |
167 B(ToNumber), | 167 B(ToNumber), |
168 B(Star), R(4), | 168 B(Star), R(4), |
169 B(Dec), | 169 B(Dec), |
170 /* 86 E> */ B(KeyedStoreICSloppy), R(2), R(3), U8(3), | 170 /* 86 E> */ B(StaKeyedPropertySloppy), R(2), R(3), U8(3), |
171 B(Ldar), R(4), | 171 B(Ldar), R(4), |
172 /* 90 S> */ B(Return), | 172 /* 90 S> */ B(Return), |
173 ] | 173 ] |
174 constant pool: [ | 174 constant pool: [ |
175 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 175 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
176 InstanceType::FIXED_ARRAY_TYPE, | 176 InstanceType::FIXED_ARRAY_TYPE, |
177 ] | 177 ] |
178 handlers: [ | 178 handlers: [ |
179 ] | 179 ] |
180 | 180 |
181 --- | 181 --- |
182 snippet: " | 182 snippet: " |
183 var name = 'var'; var a = { val: 1 }; return ++a[name]; | 183 var name = 'var'; var a = { val: 1 }; return ++a[name]; |
184 " | 184 " |
185 frame size: 4 | 185 frame size: 4 |
186 parameter count: 1 | 186 parameter count: 1 |
187 bytecode array length: 28 | 187 bytecode array length: 28 |
188 bytecodes: [ | 188 bytecodes: [ |
189 /* 30 E> */ B(StackCheck), | 189 /* 30 E> */ B(StackCheck), |
190 /* 45 S> */ B(LdaConstant), U8(0), | 190 /* 45 S> */ B(LdaConstant), U8(0), |
191 B(Star), R(0), | 191 B(Star), R(0), |
192 /* 60 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), | 192 /* 60 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), |
193 B(Star), R(2), | 193 B(Star), R(2), |
194 B(Star), R(1), | 194 B(Star), R(1), |
195 /* 72 S> */ B(Star), R(2), | 195 /* 72 S> */ B(Star), R(2), |
196 /* 83 E> */ B(Ldar), R(0), | 196 /* 83 E> */ B(Ldar), R(0), |
197 B(Star), R(3), | 197 B(Star), R(3), |
198 B(KeyedLoadIC), R(2), U8(1), | 198 B(LdaKeyedProperty), R(2), U8(1), |
199 B(Inc), | 199 B(Inc), |
200 /* 87 E> */ B(KeyedStoreICSloppy), R(2), R(3), U8(3), | 200 /* 87 E> */ B(StaKeyedPropertySloppy), R(2), R(3), U8(3), |
201 /* 90 S> */ B(Return), | 201 /* 90 S> */ B(Return), |
202 ] | 202 ] |
203 constant pool: [ | 203 constant pool: [ |
204 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 204 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
205 InstanceType::FIXED_ARRAY_TYPE, | 205 InstanceType::FIXED_ARRAY_TYPE, |
206 ] | 206 ] |
207 handlers: [ | 207 handlers: [ |
208 ] | 208 ] |
209 | 209 |
210 --- | 210 --- |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 B(Star), R(0), | 275 B(Star), R(0), |
276 /* 55 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 276 /* 55 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
277 B(Star), R(1), | 277 B(Star), R(1), |
278 /* 63 S> */ B(Star), R(2), | 278 /* 63 S> */ B(Star), R(2), |
279 B(Ldar), R(0), | 279 B(Ldar), R(0), |
280 B(ToNumber), | 280 B(ToNumber), |
281 B(Star), R(3), | 281 B(Star), R(3), |
282 B(Inc), | 282 B(Inc), |
283 /* 75 E> */ B(Star), R(0), | 283 /* 75 E> */ B(Star), R(0), |
284 B(LdaSmi), U8(2), | 284 B(LdaSmi), U8(2), |
285 /* 79 E> */ B(KeyedStoreICSloppy), R(2), R(3), U8(1), | 285 /* 79 E> */ B(StaKeyedPropertySloppy), R(2), R(3), U8(1), |
286 /* 84 S> */ B(Return), | 286 /* 84 S> */ B(Return), |
287 ] | 287 ] |
288 constant pool: [ | 288 constant pool: [ |
289 InstanceType::FIXED_ARRAY_TYPE, | 289 InstanceType::FIXED_ARRAY_TYPE, |
290 ] | 290 ] |
291 handlers: [ | 291 handlers: [ |
292 ] | 292 ] |
293 | 293 |
OLD | NEW |