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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 ] | 189 ] |
190 handlers: [ | 190 handlers: [ |
191 ] | 191 ] |
192 | 192 |
193 --- | 193 --- |
194 snippet: " | 194 snippet: " |
195 var count = 0; | 195 var count = 0; |
196 class C { constructor() { count++; }} | 196 class C { constructor() { count++; }} |
197 return new C(); | 197 return new C(); |
198 " | 198 " |
199 frame size: 10 | 199 frame size: 7 |
200 parameter count: 1 | 200 parameter count: 1 |
201 bytecode array length: 74 | 201 bytecode array length: 75 |
202 bytecodes: [ | 202 bytecodes: [ |
203 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), | 203 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
204 B(PushContext), R(2), | 204 B(PushContext), R(2), |
205 B(LdaTheHole), | 205 B(LdaTheHole), |
206 B(Star), R(1), | 206 B(Star), R(1), |
207 B(StackCheck), | 207 B(StackCheck), |
208 B(LdaZero), | 208 B(LdaZero), |
209 B(StaContextSlot), R(context), U8(4), | 209 B(StaContextSlot), R(context), U8(4), |
210 B(LdaTheHole), | 210 B(LdaTheHole), |
211 B(Star), R(0), | 211 B(Star), R(0), |
212 B(LdaTheHole), | 212 B(LdaTheHole), |
213 B(Star), R(3), | 213 B(Star), R(3), |
214 B(CreateClosure), U8(0), U8(0), | 214 B(CreateClosure), U8(0), U8(0), |
215 B(Star), R(4), | 215 B(Star), R(4), |
216 B(LdaSmi), U8(49), | 216 B(LdaSmi), U8(49), |
217 B(Star), R(5), | 217 B(Star), R(5), |
218 B(LdaSmi), U8(86), | 218 B(LdaSmi), U8(86), |
219 B(Star), R(6), | 219 B(Star), R(6), |
220 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), | 220 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), |
221 B(Star), R(3), | 221 B(Star), R(3), |
222 B(LoadIC), R(3), U8(1), U8(1), | 222 B(LoadIC), R(3), U8(1), U8(1), |
223 B(Star), R(4), | 223 B(Star), R(4), |
224 B(CallRuntime), U16(Runtime::kFinalizeClassDefinition), R(3), U8(2), | 224 B(CallRuntime), U16(Runtime::kFinalizeClassDefinition), R(3), U8(2), |
225 B(Star), R(0), | 225 B(Star), R(0), |
226 B(Star), R(1), | 226 B(Star), R(1), |
| 227 B(Nop), |
227 B(JumpIfNotHole), U8(11), | 228 B(JumpIfNotHole), U8(11), |
228 B(LdaConstant), U8(2), | 229 B(LdaConstant), U8(2), |
229 B(Star), R(4), | 230 B(Star), R(4), |
230 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 231 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
231 B(Star), R(3), | 232 B(Star), R(3), |
232 B(New), R(3), R(0), U8(0), | 233 B(New), R(3), R(0), U8(0), |
233 B(Return), | 234 B(Return), |
234 ] | 235 ] |
235 constant pool: [ | 236 constant pool: [ |
236 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 237 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
237 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 238 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
238 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 239 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
239 ] | 240 ] |
240 handlers: [ | 241 handlers: [ |
241 ] | 242 ] |
242 | 243 |
OLD | NEW |