Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/Generators.golden

Issue 2641443002: [ignition] Use absolute values for jump offsets (Closed)
Patch Set: Fix unsigned comparison Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 test function name: f 7 test function name: f
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 [53, 228, 234], 274 [53, 228, 234],
275 ] 275 ]
276 276
277 --- 277 ---
278 snippet: " 278 snippet: "
279 function* f() { for (let x of [42]) yield x } 279 function* f() { for (let x of [42]) yield x }
280 f(); 280 f();
281 " 281 "
282 frame size: 18 282 frame size: 18
283 parameter count: 1 283 parameter count: 1
284 bytecode array length: 778 284 bytecode array length: 775
285 bytecodes: [ 285 bytecodes: [
286 B(Ldar), R(new_target), 286 B(Ldar), R(new_target),
287 B(JumpIfUndefined), U8(35), 287 B(JumpIfUndefined), U8(35),
288 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 288 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
289 B(PushContext), R(4), 289 B(PushContext), R(4),
290 B(ResumeGenerator), R(new_target), 290 B(ResumeGenerator), R(new_target),
291 B(Star), R(3), 291 B(Star), R(3),
292 B(LdaZero), 292 B(LdaZero),
293 B(TestEqualStrict), R(3), U8(0), 293 B(TestEqualStrict), R(3), U8(0),
294 B(JumpIfTrue), U8(60), 294 B(JumpIfTrue), U8(60),
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2), 431 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2),
432 B(PopContext), R(2), 432 B(PopContext), R(2),
433 B(PopContext), R(2), 433 B(PopContext), R(2),
434 B(PopContext), R(2), 434 B(PopContext), R(2),
435 B(PopContext), R(2), 435 B(PopContext), R(2),
436 B(PopContext), R(2), 436 B(PopContext), R(2),
437 B(PopContext), R(2), 437 B(PopContext), R(2),
438 B(Star), R(9), 438 B(Star), R(9),
439 B(LdaZero), 439 B(LdaZero),
440 B(Star), R(8), 440 B(Star), R(8),
441 B(Jump), U8(74), 441 B(Jump), U8(71),
442 B(Ldar), R(14), 442 B(Ldar), R(14),
443 /* 36 E> */ B(Throw), 443 /* 36 E> */ B(Throw),
444 B(PopContext), R(2), 444 B(PopContext), R(2),
445 B(LdaZero), 445 B(LdaZero),
446 B(StaContextSlot), R(1), U8(9), U8(0), 446 B(StaContextSlot), R(1), U8(9), U8(0),
447 B(Wide), B(JumpLoop), U16(-219), U16(0), 447 B(JumpLoop), U8(218), U8(0),
448 B(Jump), U8(44), 448 B(Jump), U8(44),
449 B(Star), R(12), 449 B(Star), R(12),
450 B(Ldar), R(closure), 450 B(Ldar), R(closure),
451 B(CreateCatchContext), R(12), U8(10), U8(11), 451 B(CreateCatchContext), R(12), U8(10), U8(11),
452 B(Star), R(11), 452 B(Star), R(11),
453 B(PushContext), R(2), 453 B(PushContext), R(2),
454 B(LdaContextSlot), R(1), U8(9), U8(0), 454 B(LdaContextSlot), R(1), U8(9), U8(0),
455 B(Star), R(12), 455 B(Star), R(12),
456 B(LdaSmi), U8(2), 456 B(LdaSmi), U8(2),
457 B(TestEqualStrict), R(12), U8(14), 457 B(TestEqualStrict), R(12), U8(14),
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 constant pool: [ 611 constant pool: [
612 FIXED_ARRAY_TYPE, 612 FIXED_ARRAY_TYPE,
613 CONSTANT_ELEMENTS_PAIR_TYPE, 613 CONSTANT_ELEMENTS_PAIR_TYPE,
614 SYMBOL_TYPE, 614 SYMBOL_TYPE,
615 Smi [154], 615 Smi [154],
616 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 616 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
617 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 617 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
618 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 618 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
619 FIXED_ARRAY_TYPE, 619 FIXED_ARRAY_TYPE,
620 Smi [134], 620 Smi [134],
621 Smi [150], 621 Smi [147],
622 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 622 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
623 FIXED_ARRAY_TYPE, 623 FIXED_ARRAY_TYPE,
624 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 624 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
625 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], 625 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"],
626 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 626 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
627 FIXED_ARRAY_TYPE, 627 FIXED_ARRAY_TYPE,
628 Smi [133], 628 Smi [133],
629 Smi [159], 629 Smi [159],
630 Smi [582], 630 Smi [579],
631 ] 631 ]
632 handlers: [ 632 handlers: [
633 [53, 697, 703], 633 [53, 694, 700],
634 [149, 448, 454], 634 [149, 445, 451],
635 [152, 404, 406], 635 [152, 401, 403],
636 [550, 566, 568], 636 [547, 563, 565],
637 ] 637 ]
638 638
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698