OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: no | 6 wrap: no |
7 module: yes | 7 module: yes |
8 top level: yes | 8 top level: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 ] | 146 ] |
147 | 147 |
148 --- | 148 --- |
149 snippet: " | 149 snippet: " |
150 import {foo as goo} from \"bar\"; | 150 import {foo as goo} from \"bar\"; |
151 goo(42); | 151 goo(42); |
152 { let x; { goo(42) } }; | 152 { let x; { goo(42) } }; |
153 " | 153 " |
154 frame size: 9 | 154 frame size: 9 |
155 parameter count: 2 | 155 parameter count: 2 |
156 bytecode array length: 211 | 156 bytecode array length: 205 |
157 bytecodes: [ | 157 bytecodes: [ |
158 B(Ldar), R(new_target), | 158 B(Ldar), R(new_target), |
159 B(JumpIfUndefined), U8(21), | 159 B(JumpIfUndefined), U8(21), |
160 B(ResumeGenerator), R(new_target), | 160 B(ResumeGenerator), R(new_target), |
161 B(Star), R(2), | 161 B(Star), R(2), |
162 B(LdaZero), | 162 B(LdaZero), |
163 B(TestEqualStrict), R(2), U8(0), | 163 B(TestEqualStrict), R(2), U8(0), |
164 B(JumpIfTrue), U8(63), | 164 B(JumpIfTrue), U8(63), |
165 B(LdaSmi), U8(76), | 165 B(LdaSmi), U8(76), |
166 B(Star), R(3), | 166 B(Star), R(3), |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 B(JumpIfTrue), U8(16), | 201 B(JumpIfTrue), U8(16), |
202 B(Jump), U8(2), | 202 B(Jump), U8(2), |
203 B(LdaTrue), | 203 B(LdaTrue), |
204 B(Star), R(8), | 204 B(Star), R(8), |
205 B(Mov), R(5), R(7), | 205 B(Mov), R(5), R(7), |
206 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8
(2), | 206 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8
(2), |
207 /* 64 S> */ B(Return), | 207 /* 64 S> */ B(Return), |
208 B(Ldar), R(5), | 208 B(Ldar), R(5), |
209 /* 0 E> */ B(Throw), | 209 /* 0 E> */ B(Throw), |
210 /* 32 S> */ B(LdrUndefined), R(4), | 210 /* 32 S> */ B(LdrUndefined), R(4), |
| 211 B(LdaSmi), U8(-1), |
| 212 B(Star), R(6), |
| 213 /* 32 E> */ B(CallRuntime), U16(Runtime::kLoadModuleVariable), R(6), U8(1), |
| 214 B(JumpIfNotHole), U8(11), |
211 B(LdaConstant), U8(1), | 215 B(LdaConstant), U8(1), |
212 B(Star), R(6), | |
213 B(LdaZero), | |
214 B(Star), R(7), | 216 B(Star), R(7), |
215 /* 32 E> */ B(CallRuntime), U16(Runtime::kLoadModuleImport), R(6), U8(2), | 217 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(7), U8(1), |
216 B(JumpIfNotHole), U8(11), | |
217 B(LdaConstant), U8(2), | |
218 B(Star), R(8), | |
219 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(8), U8(1), | |
220 B(Star), R(3), | 218 B(Star), R(3), |
221 B(LdaSmi), U8(42), | 219 B(LdaSmi), U8(42), |
222 B(Star), R(5), | 220 B(Star), R(5), |
223 /* 32 E> */ B(Call), R(3), R(4), U8(2), U8(2), | 221 /* 32 E> */ B(Call), R(3), R(4), U8(2), U8(2), |
224 B(Ldar), R(closure), | 222 B(Ldar), R(closure), |
225 B(CreateBlockContext), U8(3), | 223 B(CreateBlockContext), U8(2), |
226 B(PushContext), R(1), | 224 B(PushContext), R(1), |
227 B(LdaTheHole), | 225 B(LdaTheHole), |
228 B(StaCurrentContextSlot), U8(4), | 226 B(StaCurrentContextSlot), U8(4), |
229 /* 47 S> */ B(LdaUndefined), | 227 /* 47 S> */ B(LdaUndefined), |
230 /* 47 E> */ B(StaCurrentContextSlot), U8(4), | 228 /* 47 E> */ B(StaCurrentContextSlot), U8(4), |
231 /* 52 S> */ B(LdrUndefined), R(4), | 229 /* 52 S> */ B(LdrUndefined), R(4), |
| 230 B(LdaSmi), U8(-1), |
| 231 B(Star), R(6), |
| 232 /* 52 E> */ B(CallRuntime), U16(Runtime::kLoadModuleVariable), R(6), U8(1), |
| 233 B(JumpIfNotHole), U8(11), |
232 B(LdaConstant), U8(1), | 234 B(LdaConstant), U8(1), |
233 B(Star), R(6), | |
234 B(LdaZero), | |
235 B(Star), R(7), | 235 B(Star), R(7), |
236 /* 52 E> */ B(CallRuntime), U16(Runtime::kLoadModuleImport), R(6), U8(2), | 236 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(7), U8(1), |
237 B(JumpIfNotHole), U8(11), | |
238 B(LdaConstant), U8(2), | |
239 B(Star), R(8), | |
240 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(8), U8(1), | |
241 B(Star), R(3), | 237 B(Star), R(3), |
242 B(LdaSmi), U8(42), | 238 B(LdaSmi), U8(42), |
243 B(Star), R(5), | 239 B(Star), R(5), |
244 /* 52 E> */ B(Call), R(3), R(4), U8(2), U8(4), | 240 /* 52 E> */ B(Call), R(3), R(4), U8(2), U8(4), |
245 B(PopContext), R(1), | 241 B(PopContext), R(1), |
246 B(LdaUndefined), | 242 B(LdaUndefined), |
247 /* 64 S> */ B(Return), | 243 /* 64 S> */ B(Return), |
248 ] | 244 ] |
249 constant pool: [ | 245 constant pool: [ |
250 FIXED_ARRAY_TYPE, | 246 FIXED_ARRAY_TYPE, |
251 ONE_BYTE_INTERNALIZED_STRING_TYPE ["foo"], | |
252 ONE_BYTE_INTERNALIZED_STRING_TYPE ["goo"], | 247 ONE_BYTE_INTERNALIZED_STRING_TYPE ["goo"], |
253 FIXED_ARRAY_TYPE, | 248 FIXED_ARRAY_TYPE, |
254 ] | 249 ] |
255 handlers: [ | 250 handlers: [ |
256 ] | 251 ] |
257 | 252 |
258 --- | 253 --- |
259 snippet: " | 254 snippet: " |
260 export var foo = 42; | 255 export var foo = 42; |
261 foo++; | 256 foo++; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 B(Jump), U8(2), | 307 B(Jump), U8(2), |
313 B(LdaTrue), | 308 B(LdaTrue), |
314 B(Star), R(8), | 309 B(Star), R(8), |
315 B(Mov), R(5), R(7), | 310 B(Mov), R(5), R(7), |
316 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8
(2), | 311 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8
(2), |
317 /* 49 S> */ B(Return), | 312 /* 49 S> */ B(Return), |
318 B(Ldar), R(5), | 313 B(Ldar), R(5), |
319 /* 0 E> */ B(Throw), | 314 /* 0 E> */ B(Throw), |
320 /* 17 S> */ B(LdaSmi), U8(42), | 315 /* 17 S> */ B(LdaSmi), U8(42), |
321 B(Star), R(4), | 316 B(Star), R(4), |
322 B(LdaConstant), U8(1), | 317 B(LdaSmi), U8(1), |
323 B(Star), R(3), | 318 B(Star), R(3), |
324 /* 17 E> */ B(CallRuntime), U16(Runtime::kStoreModuleExport), R(3), U8(2), | 319 /* 17 E> */ B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(3), U8(2), |
325 /* 21 S> */ B(LdaConstant), U8(1), | 320 /* 21 S> */ B(LdaSmi), U8(1), |
326 B(Star), R(3), | 321 B(Star), R(3), |
327 B(CallRuntime), U16(Runtime::kLoadModuleExport), R(3), U8(1), | 322 B(CallRuntime), U16(Runtime::kLoadModuleVariable), R(3), U8(1), |
328 B(Inc), U8(2), | 323 B(Inc), U8(2), |
329 B(Star), R(4), | 324 B(Star), R(4), |
330 B(LdaConstant), U8(1), | 325 B(LdaSmi), U8(1), |
331 B(Star), R(3), | 326 B(Star), R(3), |
332 /* 24 E> */ B(CallRuntime), U16(Runtime::kStoreModuleExport), R(3), U8(2), | 327 /* 24 E> */ B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(3), U8(2), |
333 B(Ldar), R(closure), | 328 B(Ldar), R(closure), |
334 B(CreateBlockContext), U8(2), | 329 B(CreateBlockContext), U8(1), |
335 B(PushContext), R(1), | 330 B(PushContext), R(1), |
336 B(LdaTheHole), | 331 B(LdaTheHole), |
337 B(StaCurrentContextSlot), U8(4), | 332 B(StaCurrentContextSlot), U8(4), |
338 /* 34 S> */ B(LdaUndefined), | 333 /* 34 S> */ B(LdaUndefined), |
339 /* 34 E> */ B(StaCurrentContextSlot), U8(4), | 334 /* 34 E> */ B(StaCurrentContextSlot), U8(4), |
340 /* 39 S> */ B(LdaConstant), U8(1), | 335 /* 39 S> */ B(LdaSmi), U8(1), |
341 B(Star), R(3), | 336 B(Star), R(3), |
342 B(CallRuntime), U16(Runtime::kLoadModuleExport), R(3), U8(1), | 337 B(CallRuntime), U16(Runtime::kLoadModuleVariable), R(3), U8(1), |
343 B(Inc), U8(3), | 338 B(Inc), U8(3), |
344 B(Star), R(4), | 339 B(Star), R(4), |
345 B(LdaConstant), U8(1), | 340 B(LdaSmi), U8(1), |
346 B(Star), R(3), | 341 B(Star), R(3), |
347 /* 42 E> */ B(CallRuntime), U16(Runtime::kStoreModuleExport), R(3), U8(2), | 342 /* 42 E> */ B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(3), U8(2), |
348 B(PopContext), R(1), | 343 B(PopContext), R(1), |
349 B(LdaUndefined), | 344 B(LdaUndefined), |
350 /* 49 S> */ B(Return), | 345 /* 49 S> */ B(Return), |
351 ] | 346 ] |
352 constant pool: [ | 347 constant pool: [ |
353 FIXED_ARRAY_TYPE, | 348 FIXED_ARRAY_TYPE, |
354 ONE_BYTE_INTERNALIZED_STRING_TYPE ["foo"], | |
355 FIXED_ARRAY_TYPE, | 349 FIXED_ARRAY_TYPE, |
356 ] | 350 ] |
357 handlers: [ | 351 handlers: [ |
358 ] | 352 ] |
359 | 353 |
360 --- | 354 --- |
361 snippet: " | 355 snippet: " |
362 export let foo = 42; | 356 export let foo = 42; |
363 foo++; | 357 foo++; |
364 { let x; { foo++ } }; | 358 { let x; { foo++ } }; |
(...skipping 17 matching lines...) Expand all Loading... |
382 B(LdaConstant), U8(0), | 376 B(LdaConstant), U8(0), |
383 B(Star), R(5), | 377 B(Star), R(5), |
384 B(Mov), R(arg0), R(3), | 378 B(Mov), R(arg0), R(3), |
385 B(Mov), R(closure), R(4), | 379 B(Mov), R(closure), R(4), |
386 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 380 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
387 B(PushContext), R(0), | 381 B(PushContext), R(0), |
388 B(Ldar), R(this), | 382 B(Ldar), R(this), |
389 B(StaCurrentContextSlot), U8(4), | 383 B(StaCurrentContextSlot), U8(4), |
390 B(LdaTheHole), | 384 B(LdaTheHole), |
391 B(Star), R(4), | 385 B(Star), R(4), |
392 B(LdaConstant), U8(1), | 386 B(LdaSmi), U8(1), |
393 B(Star), R(3), | 387 B(Star), R(3), |
394 B(CallRuntime), U16(Runtime::kStoreModuleExport), R(3), U8(2), | 388 B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(3), U8(2), |
395 /* 0 E> */ B(StackCheck), | 389 /* 0 E> */ B(StackCheck), |
396 /* 0 E> */ B(LdrCurrentContextSlot), U8(4), R(4), | 390 /* 0 E> */ B(LdrCurrentContextSlot), U8(4), R(4), |
397 B(Ldar), R(4), | 391 B(Ldar), R(4), |
398 B(Mov), R(closure), R(3), | 392 B(Mov), R(closure), R(3), |
399 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), | 393 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), |
400 B(StaCurrentContextSlot), U8(5), | 394 B(StaCurrentContextSlot), U8(5), |
401 B(Star), R(3), | 395 B(Star), R(3), |
402 B(LdrCurrentContextSlot), U8(5), R(4), | 396 B(LdrCurrentContextSlot), U8(5), R(4), |
403 B(LdaZero), | 397 B(LdaZero), |
404 B(SuspendGenerator), R(4), | 398 B(SuspendGenerator), R(4), |
(...skipping 14 matching lines...) Expand all Loading... |
419 B(Jump), U8(2), | 413 B(Jump), U8(2), |
420 B(LdaTrue), | 414 B(LdaTrue), |
421 B(Star), R(8), | 415 B(Star), R(8), |
422 B(Mov), R(5), R(7), | 416 B(Mov), R(5), R(7), |
423 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8
(2), | 417 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8
(2), |
424 /* 49 S> */ B(Return), | 418 /* 49 S> */ B(Return), |
425 B(Ldar), R(5), | 419 B(Ldar), R(5), |
426 /* 0 E> */ B(Throw), | 420 /* 0 E> */ B(Throw), |
427 /* 17 S> */ B(LdaSmi), U8(42), | 421 /* 17 S> */ B(LdaSmi), U8(42), |
428 B(Star), R(4), | 422 B(Star), R(4), |
429 B(LdaConstant), U8(1), | 423 B(LdaSmi), U8(1), |
430 B(Star), R(3), | 424 B(Star), R(3), |
431 /* 17 E> */ B(CallRuntime), U16(Runtime::kStoreModuleExport), R(3), U8(2), | 425 /* 17 E> */ B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(3), U8(2), |
432 /* 21 S> */ B(LdaConstant), U8(1), | 426 /* 21 S> */ B(LdaSmi), U8(1), |
433 B(Star), R(3), | 427 B(Star), R(3), |
434 B(CallRuntime), U16(Runtime::kLoadModuleExport), R(3), U8(1), | 428 B(CallRuntime), U16(Runtime::kLoadModuleVariable), R(3), U8(1), |
435 B(Inc), U8(2), | 429 B(Inc), U8(2), |
436 B(Star), R(4), | 430 B(Star), R(4), |
437 B(LdaConstant), U8(1), | 431 B(LdaSmi), U8(1), |
438 B(Star), R(3), | 432 B(Star), R(3), |
439 /* 24 E> */ B(CallRuntime), U16(Runtime::kStoreModuleExport), R(3), U8(2), | 433 /* 24 E> */ B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(3), U8(2), |
440 B(Ldar), R(closure), | 434 B(Ldar), R(closure), |
441 B(CreateBlockContext), U8(2), | 435 B(CreateBlockContext), U8(1), |
442 B(PushContext), R(1), | 436 B(PushContext), R(1), |
443 B(LdaTheHole), | 437 B(LdaTheHole), |
444 B(StaCurrentContextSlot), U8(4), | 438 B(StaCurrentContextSlot), U8(4), |
445 /* 34 S> */ B(LdaUndefined), | 439 /* 34 S> */ B(LdaUndefined), |
446 /* 34 E> */ B(StaCurrentContextSlot), U8(4), | 440 /* 34 E> */ B(StaCurrentContextSlot), U8(4), |
447 /* 39 S> */ B(LdaConstant), U8(1), | 441 /* 39 S> */ B(LdaSmi), U8(1), |
448 B(Star), R(3), | 442 B(Star), R(3), |
449 B(CallRuntime), U16(Runtime::kLoadModuleExport), R(3), U8(1), | 443 B(CallRuntime), U16(Runtime::kLoadModuleVariable), R(3), U8(1), |
450 B(Inc), U8(3), | 444 B(Inc), U8(3), |
451 B(Star), R(4), | 445 B(Star), R(4), |
452 B(LdaConstant), U8(1), | 446 B(LdaSmi), U8(1), |
453 B(Star), R(3), | 447 B(Star), R(3), |
454 /* 42 E> */ B(CallRuntime), U16(Runtime::kStoreModuleExport), R(3), U8(2), | 448 /* 42 E> */ B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(3), U8(2), |
455 B(PopContext), R(1), | 449 B(PopContext), R(1), |
456 B(LdaUndefined), | 450 B(LdaUndefined), |
457 /* 49 S> */ B(Return), | 451 /* 49 S> */ B(Return), |
458 ] | 452 ] |
459 constant pool: [ | 453 constant pool: [ |
460 FIXED_ARRAY_TYPE, | 454 FIXED_ARRAY_TYPE, |
461 ONE_BYTE_INTERNALIZED_STRING_TYPE ["foo"], | |
462 FIXED_ARRAY_TYPE, | 455 FIXED_ARRAY_TYPE, |
463 ] | 456 ] |
464 handlers: [ | 457 handlers: [ |
465 ] | 458 ] |
466 | 459 |
467 --- | 460 --- |
468 snippet: " | 461 snippet: " |
469 export const foo = 42; | 462 export const foo = 42; |
470 foo++; | 463 foo++; |
471 { let x; { foo++ } }; | 464 { let x; { foo++ } }; |
(...skipping 17 matching lines...) Expand all Loading... |
489 B(LdaConstant), U8(0), | 482 B(LdaConstant), U8(0), |
490 B(Star), R(5), | 483 B(Star), R(5), |
491 B(Mov), R(arg0), R(3), | 484 B(Mov), R(arg0), R(3), |
492 B(Mov), R(closure), R(4), | 485 B(Mov), R(closure), R(4), |
493 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 486 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
494 B(PushContext), R(0), | 487 B(PushContext), R(0), |
495 B(Ldar), R(this), | 488 B(Ldar), R(this), |
496 B(StaCurrentContextSlot), U8(4), | 489 B(StaCurrentContextSlot), U8(4), |
497 B(LdaTheHole), | 490 B(LdaTheHole), |
498 B(Star), R(4), | 491 B(Star), R(4), |
499 B(LdaConstant), U8(1), | 492 B(LdaSmi), U8(1), |
500 B(Star), R(3), | 493 B(Star), R(3), |
501 B(CallRuntime), U16(Runtime::kStoreModuleExport), R(3), U8(2), | 494 B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(3), U8(2), |
502 /* 0 E> */ B(StackCheck), | 495 /* 0 E> */ B(StackCheck), |
503 /* 0 E> */ B(LdrCurrentContextSlot), U8(4), R(4), | 496 /* 0 E> */ B(LdrCurrentContextSlot), U8(4), R(4), |
504 B(Ldar), R(4), | 497 B(Ldar), R(4), |
505 B(Mov), R(closure), R(3), | 498 B(Mov), R(closure), R(3), |
506 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), | 499 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(3), U8
(2), |
507 B(StaCurrentContextSlot), U8(5), | 500 B(StaCurrentContextSlot), U8(5), |
508 B(Star), R(3), | 501 B(Star), R(3), |
509 B(LdrCurrentContextSlot), U8(5), R(4), | 502 B(LdrCurrentContextSlot), U8(5), R(4), |
510 B(LdaZero), | 503 B(LdaZero), |
511 B(SuspendGenerator), R(4), | 504 B(SuspendGenerator), R(4), |
(...skipping 14 matching lines...) Expand all Loading... |
526 B(Jump), U8(2), | 519 B(Jump), U8(2), |
527 B(LdaTrue), | 520 B(LdaTrue), |
528 B(Star), R(8), | 521 B(Star), R(8), |
529 B(Mov), R(5), R(7), | 522 B(Mov), R(5), R(7), |
530 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8
(2), | 523 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8
(2), |
531 /* 51 S> */ B(Return), | 524 /* 51 S> */ B(Return), |
532 B(Ldar), R(5), | 525 B(Ldar), R(5), |
533 /* 0 E> */ B(Throw), | 526 /* 0 E> */ B(Throw), |
534 /* 19 S> */ B(LdaSmi), U8(42), | 527 /* 19 S> */ B(LdaSmi), U8(42), |
535 B(Star), R(4), | 528 B(Star), R(4), |
536 B(LdaConstant), U8(1), | 529 B(LdaSmi), U8(1), |
537 B(Star), R(3), | 530 B(Star), R(3), |
538 /* 19 E> */ B(CallRuntime), U16(Runtime::kStoreModuleExport), R(3), U8(2), | 531 /* 19 E> */ B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(3), U8(2), |
539 /* 23 S> */ B(LdaConstant), U8(1), | 532 /* 23 S> */ B(LdaSmi), U8(1), |
540 B(Star), R(3), | 533 B(Star), R(3), |
541 B(CallRuntime), U16(Runtime::kLoadModuleExport), R(3), U8(1), | 534 B(CallRuntime), U16(Runtime::kLoadModuleVariable), R(3), U8(1), |
542 B(Inc), U8(2), | 535 B(Inc), U8(2), |
543 /* 26 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), | 536 /* 26 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), |
544 B(Ldar), R(closure), | 537 B(Ldar), R(closure), |
545 B(CreateBlockContext), U8(2), | 538 B(CreateBlockContext), U8(1), |
546 B(PushContext), R(1), | 539 B(PushContext), R(1), |
547 B(LdaTheHole), | 540 B(LdaTheHole), |
548 B(StaCurrentContextSlot), U8(4), | 541 B(StaCurrentContextSlot), U8(4), |
549 /* 36 S> */ B(LdaUndefined), | 542 /* 36 S> */ B(LdaUndefined), |
550 /* 36 E> */ B(StaCurrentContextSlot), U8(4), | 543 /* 36 E> */ B(StaCurrentContextSlot), U8(4), |
551 /* 41 S> */ B(LdaConstant), U8(1), | 544 /* 41 S> */ B(LdaSmi), U8(1), |
552 B(Star), R(3), | 545 B(Star), R(3), |
553 B(CallRuntime), U16(Runtime::kLoadModuleExport), R(3), U8(1), | 546 B(CallRuntime), U16(Runtime::kLoadModuleVariable), R(3), U8(1), |
554 B(Inc), U8(3), | 547 B(Inc), U8(3), |
555 /* 44 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), | 548 /* 44 E> */ B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0
), |
556 B(PopContext), R(1), | 549 B(PopContext), R(1), |
557 B(LdaUndefined), | 550 B(LdaUndefined), |
558 /* 51 S> */ B(Return), | 551 /* 51 S> */ B(Return), |
559 ] | 552 ] |
560 constant pool: [ | 553 constant pool: [ |
561 FIXED_ARRAY_TYPE, | 554 FIXED_ARRAY_TYPE, |
562 ONE_BYTE_INTERNALIZED_STRING_TYPE ["foo"], | |
563 FIXED_ARRAY_TYPE, | 555 FIXED_ARRAY_TYPE, |
564 ] | 556 ] |
565 handlers: [ | 557 handlers: [ |
566 ] | 558 ] |
567 | 559 |
568 --- | 560 --- |
569 snippet: " | 561 snippet: " |
570 export default (function () {}); | 562 export default (function () {}); |
571 " | 563 " |
572 frame size: 8 | 564 frame size: 8 |
(...skipping 15 matching lines...) Expand all Loading... |
588 B(LdaConstant), U8(0), | 580 B(LdaConstant), U8(0), |
589 B(Star), R(4), | 581 B(Star), R(4), |
590 B(Mov), R(arg0), R(2), | 582 B(Mov), R(arg0), R(2), |
591 B(Mov), R(closure), R(3), | 583 B(Mov), R(closure), R(3), |
592 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 584 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
593 B(PushContext), R(0), | 585 B(PushContext), R(0), |
594 B(Ldar), R(this), | 586 B(Ldar), R(this), |
595 B(StaCurrentContextSlot), U8(4), | 587 B(StaCurrentContextSlot), U8(4), |
596 B(LdaTheHole), | 588 B(LdaTheHole), |
597 B(Star), R(3), | 589 B(Star), R(3), |
598 B(LdaConstant), U8(1), | 590 B(LdaSmi), U8(1), |
599 B(Star), R(2), | 591 B(Star), R(2), |
600 B(CallRuntime), U16(Runtime::kStoreModuleExport), R(2), U8(2), | 592 B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(2), U8(2), |
601 /* 0 E> */ B(StackCheck), | 593 /* 0 E> */ B(StackCheck), |
602 /* 0 E> */ B(LdrCurrentContextSlot), U8(4), R(3), | 594 /* 0 E> */ B(LdrCurrentContextSlot), U8(4), R(3), |
603 B(Ldar), R(3), | 595 B(Ldar), R(3), |
604 B(Mov), R(closure), R(2), | 596 B(Mov), R(closure), R(2), |
605 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(2), U8
(2), | 597 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(2), U8
(2), |
606 B(StaCurrentContextSlot), U8(5), | 598 B(StaCurrentContextSlot), U8(5), |
607 B(Star), R(2), | 599 B(Star), R(2), |
608 B(LdrCurrentContextSlot), U8(5), R(3), | 600 B(LdrCurrentContextSlot), U8(5), R(3), |
609 B(LdaZero), | 601 B(LdaZero), |
610 B(SuspendGenerator), R(3), | 602 B(SuspendGenerator), R(3), |
(...skipping 12 matching lines...) Expand all Loading... |
623 B(TestEqualStrict), R(5), U8(0), | 615 B(TestEqualStrict), R(5), U8(0), |
624 B(JumpIfTrue), U8(16), | 616 B(JumpIfTrue), U8(16), |
625 B(Jump), U8(2), | 617 B(Jump), U8(2), |
626 B(LdaTrue), | 618 B(LdaTrue), |
627 B(Star), R(7), | 619 B(Star), R(7), |
628 B(Mov), R(4), R(6), | 620 B(Mov), R(4), R(6), |
629 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8
(2), | 621 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8
(2), |
630 /* 32 S> */ B(Return), | 622 /* 32 S> */ B(Return), |
631 B(Ldar), R(4), | 623 B(Ldar), R(4), |
632 /* 0 E> */ B(Throw), | 624 /* 0 E> */ B(Throw), |
633 B(CreateClosure), U8(2), U8(0), | 625 B(CreateClosure), U8(1), U8(0), |
634 B(Star), R(3), | 626 B(Star), R(3), |
635 B(LdaConstant), U8(1), | 627 B(LdaSmi), U8(1), |
636 B(Star), R(2), | 628 B(Star), R(2), |
637 B(CallRuntime), U16(Runtime::kStoreModuleExport), R(2), U8(2), | 629 B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(2), U8(2), |
638 B(LdaUndefined), | 630 B(LdaUndefined), |
639 /* 32 S> */ B(Return), | 631 /* 32 S> */ B(Return), |
640 ] | 632 ] |
641 constant pool: [ | 633 constant pool: [ |
642 FIXED_ARRAY_TYPE, | 634 FIXED_ARRAY_TYPE, |
643 ONE_BYTE_INTERNALIZED_STRING_TYPE ["default"], | |
644 SHARED_FUNCTION_INFO_TYPE, | 635 SHARED_FUNCTION_INFO_TYPE, |
645 ] | 636 ] |
646 handlers: [ | 637 handlers: [ |
647 ] | 638 ] |
648 | 639 |
649 --- | 640 --- |
650 snippet: " | 641 snippet: " |
651 export default (class {}); | 642 export default (class {}); |
652 " | 643 " |
653 frame size: 8 | 644 frame size: 8 |
(...skipping 15 matching lines...) Expand all Loading... |
669 B(LdaConstant), U8(0), | 660 B(LdaConstant), U8(0), |
670 B(Star), R(4), | 661 B(Star), R(4), |
671 B(Mov), R(arg0), R(2), | 662 B(Mov), R(arg0), R(2), |
672 B(Mov), R(closure), R(3), | 663 B(Mov), R(closure), R(3), |
673 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 664 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
674 B(PushContext), R(0), | 665 B(PushContext), R(0), |
675 B(Ldar), R(this), | 666 B(Ldar), R(this), |
676 B(StaCurrentContextSlot), U8(4), | 667 B(StaCurrentContextSlot), U8(4), |
677 B(LdaTheHole), | 668 B(LdaTheHole), |
678 B(Star), R(3), | 669 B(Star), R(3), |
679 B(LdaConstant), U8(1), | 670 B(LdaSmi), U8(1), |
680 B(Star), R(2), | 671 B(Star), R(2), |
681 B(CallRuntime), U16(Runtime::kStoreModuleExport), R(2), U8(2), | 672 B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(2), U8(2), |
682 /* 0 E> */ B(StackCheck), | 673 /* 0 E> */ B(StackCheck), |
683 /* 0 E> */ B(LdrCurrentContextSlot), U8(4), R(3), | 674 /* 0 E> */ B(LdrCurrentContextSlot), U8(4), R(3), |
684 B(Ldar), R(3), | 675 B(Ldar), R(3), |
685 B(Mov), R(closure), R(2), | 676 B(Mov), R(closure), R(2), |
686 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(2), U8
(2), | 677 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(2), U8
(2), |
687 B(StaCurrentContextSlot), U8(5), | 678 B(StaCurrentContextSlot), U8(5), |
688 B(Star), R(2), | 679 B(Star), R(2), |
689 B(LdrCurrentContextSlot), U8(5), R(3), | 680 B(LdrCurrentContextSlot), U8(5), R(3), |
690 B(LdaZero), | 681 B(LdaZero), |
691 B(SuspendGenerator), R(3), | 682 B(SuspendGenerator), R(3), |
(...skipping 14 matching lines...) Expand all Loading... |
706 B(Jump), U8(2), | 697 B(Jump), U8(2), |
707 B(LdaTrue), | 698 B(LdaTrue), |
708 B(Star), R(7), | 699 B(Star), R(7), |
709 B(Mov), R(4), R(6), | 700 B(Mov), R(4), R(6), |
710 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8
(2), | 701 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8
(2), |
711 /* 26 S> */ B(Return), | 702 /* 26 S> */ B(Return), |
712 B(Ldar), R(4), | 703 B(Ldar), R(4), |
713 /* 0 E> */ B(Throw), | 704 /* 0 E> */ B(Throw), |
714 /* 16 S> */ B(LdaTheHole), | 705 /* 16 S> */ B(LdaTheHole), |
715 B(Star), R(2), | 706 B(Star), R(2), |
716 B(CreateClosure), U8(2), U8(0), | 707 B(CreateClosure), U8(1), U8(0), |
717 B(Star), R(3), | 708 B(Star), R(3), |
718 B(LdaSmi), U8(16), | 709 B(LdaSmi), U8(16), |
719 B(Star), R(4), | 710 B(Star), R(4), |
720 B(LdaSmi), U8(24), | 711 B(LdaSmi), U8(24), |
721 B(Star), R(5), | 712 B(Star), R(5), |
722 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), | 713 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), |
723 B(Star), R(2), | 714 B(Star), R(2), |
724 B(LdrNamedProperty), R(2), U8(3), U8(2), R(3), | 715 B(LdrNamedProperty), R(2), U8(2), U8(2), R(3), |
725 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), | 716 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), |
726 B(StaCurrentContextSlot), U8(6), | 717 B(StaCurrentContextSlot), U8(6), |
727 /* 16 E> */ B(LdrCurrentContextSlot), U8(6), R(3), | 718 /* 16 E> */ B(LdrCurrentContextSlot), U8(6), R(3), |
728 B(LdaConstant), U8(1), | 719 B(LdaSmi), U8(1), |
729 B(Star), R(2), | 720 B(Star), R(2), |
730 B(CallRuntime), U16(Runtime::kStoreModuleExport), R(2), U8(2), | 721 B(CallRuntime), U16(Runtime::kStoreModuleVariable), R(2), U8(2), |
731 B(LdaUndefined), | 722 B(LdaUndefined), |
732 /* 26 S> */ B(Return), | 723 /* 26 S> */ B(Return), |
733 ] | 724 ] |
734 constant pool: [ | 725 constant pool: [ |
735 FIXED_ARRAY_TYPE, | 726 FIXED_ARRAY_TYPE, |
736 ONE_BYTE_INTERNALIZED_STRING_TYPE ["default"], | |
737 SHARED_FUNCTION_INFO_TYPE, | 727 SHARED_FUNCTION_INFO_TYPE, |
738 ONE_BYTE_INTERNALIZED_STRING_TYPE ["prototype"], | 728 ONE_BYTE_INTERNALIZED_STRING_TYPE ["prototype"], |
739 ] | 729 ] |
740 handlers: [ | 730 handlers: [ |
741 ] | 731 ] |
742 | 732 |
743 --- | 733 --- |
744 snippet: " | 734 snippet: " |
745 export {foo as goo} from \"bar\" | 735 export {foo as goo} from \"bar\" |
746 " | 736 " |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 /* 45 S> */ B(Return), | 943 /* 45 S> */ B(Return), |
954 ] | 944 ] |
955 constant pool: [ | 945 constant pool: [ |
956 FIXED_ARRAY_TYPE, | 946 FIXED_ARRAY_TYPE, |
957 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], | 947 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], |
958 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 948 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
959 ] | 949 ] |
960 handlers: [ | 950 handlers: [ |
961 ] | 951 ] |
962 | 952 |
OLD | NEW |