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

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

Issue 2248633002: [interpreter] Add CreateBlockContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments Created 4 years, 4 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 pool type: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 { 674 {
675 let z = 1; 675 let z = 1;
676 function f() { z = 2; } 676 function f() { z = 2; }
677 if (z) continue; 677 if (z) continue;
678 z++; 678 z++;
679 } 679 }
680 } 680 }
681 " 681 "
682 frame size: 6 682 frame size: 6
683 parameter count: 1 683 parameter count: 1
684 bytecode array length: 105 684 bytecode array length: 97
685 bytecodes: [ 685 bytecodes: [
686 /* 30 E> */ B(StackCheck), 686 /* 30 E> */ B(StackCheck),
687 /* 42 S> */ B(LdaZero), 687 /* 42 S> */ B(LdaZero),
688 B(Star), R(1), 688 B(Star), R(1),
689 /* 52 S> */ B(Ldar), R(1), 689 /* 52 S> */ B(Ldar), R(1),
690 B(JumpIfToBooleanFalse), U8(97), 690 B(JumpIfToBooleanFalse), U8(89),
691 /* 45 E> */ B(StackCheck), 691 /* 45 E> */ B(StackCheck),
692 B(LdaConstant), U8(0), 692 B(Ldar), R(closure),
693 B(Star), R(4), 693 B(CreateBlockContext), U8(0),
694 B(Mov), R(closure), R(5),
695 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2),
696 B(PushContext), R(3), 694 B(PushContext), R(3),
697 B(LdaTheHole), 695 B(LdaTheHole),
698 B(StaContextSlot), R(context), U8(4), 696 B(StaContextSlot), R(context), U8(4),
699 B(CreateClosure), U8(1), U8(2), 697 B(CreateClosure), U8(1), U8(2),
700 B(Star), R(0), 698 B(Star), R(0),
701 /* 73 S> */ B(LdaSmi), U8(1), 699 /* 73 S> */ B(LdaSmi), U8(1),
702 /* 73 E> */ B(StaContextSlot), R(context), U8(4), 700 /* 73 E> */ B(StaContextSlot), R(context), U8(4),
703 B(Mov), R(0), R(2), 701 B(Mov), R(0), R(2),
704 /* 106 S> */ B(LdaContextSlot), R(context), U8(4), 702 /* 106 S> */ B(LdaContextSlot), R(context), U8(4),
705 B(JumpIfNotHole), U8(11), 703 B(JumpIfNotHole), U8(11),
(...skipping 12 matching lines...) Expand all
718 B(Inc), U8(1), 716 B(Inc), U8(1),
719 B(Star), R(4), 717 B(Star), R(4),
720 /* 127 E> */ B(LdaContextSlot), R(context), U8(4), 718 /* 127 E> */ B(LdaContextSlot), R(context), U8(4),
721 B(JumpIfNotHole), U8(11), 719 B(JumpIfNotHole), U8(11),
722 B(LdaConstant), U8(2), 720 B(LdaConstant), U8(2),
723 B(Star), R(5), 721 B(Star), R(5),
724 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), 722 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1),
725 B(Ldar), R(4), 723 B(Ldar), R(4),
726 B(StaContextSlot), R(context), U8(4), 724 B(StaContextSlot), R(context), U8(4),
727 B(PopContext), R(3), 725 B(PopContext), R(3),
728 B(Jump), U8(-97), 726 B(Jump), U8(-89),
729 B(LdaUndefined), 727 B(LdaUndefined),
730 /* 137 S> */ B(Return), 728 /* 137 S> */ B(Return),
731 ] 729 ]
732 constant pool: [ 730 constant pool: [
733 InstanceType::FIXED_ARRAY_TYPE, 731 InstanceType::FIXED_ARRAY_TYPE,
734 InstanceType::SHARED_FUNCTION_INFO_TYPE, 732 InstanceType::SHARED_FUNCTION_INFO_TYPE,
735 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 733 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
736 ] 734 ]
737 handlers: [ 735 handlers: [
738 ] 736 ]
739 737
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698