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

Side by Side Diff: src/compiler/mips/code-generator-mips.cc

Issue 951553005: [turbofan] remove dependence of InstructionBlock on BasicBlock (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « src/compiler/jump-threading.cc ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 #include "src/compiler/code-generator-impl.h" 6 #include "src/compiler/code-generator-impl.h"
7 #include "src/compiler/gap-resolver.h" 7 #include "src/compiler/gap-resolver.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/mips/macro-assembler-mips.h" 9 #include "src/mips/macro-assembler-mips.h"
10 #include "src/scopes.h" 10 #include "src/scopes.h"
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 if (!branch->fallthru) __ Branch(flabel); // no fallthru to flabel. 796 if (!branch->fallthru) __ Branch(flabel); // no fallthru to flabel.
797 797
798 } else { 798 } else {
799 PrintF("AssembleArchBranch Unimplemented arch_opcode: %d\n", 799 PrintF("AssembleArchBranch Unimplemented arch_opcode: %d\n",
800 instr->arch_opcode()); 800 instr->arch_opcode());
801 UNIMPLEMENTED(); 801 UNIMPLEMENTED();
802 } 802 }
803 } 803 }
804 804
805 805
806 void CodeGenerator::AssembleArchJump(BasicBlock::RpoNumber target) { 806 void CodeGenerator::AssembleArchJump(RpoNumber target) {
807 if (!IsNextInAssemblyOrder(target)) __ Branch(GetLabel(target)); 807 if (!IsNextInAssemblyOrder(target)) __ Branch(GetLabel(target));
808 } 808 }
809 809
810 810
811 // Assembles boolean materializations after an instruction. 811 // Assembles boolean materializations after an instruction.
812 void CodeGenerator::AssembleArchBoolean(Instruction* instr, 812 void CodeGenerator::AssembleArchBoolean(Instruction* instr,
813 FlagsCondition condition) { 813 FlagsCondition condition) {
814 MipsOperandConverter i(this, instr); 814 MipsOperandConverter i(this, instr);
815 Label done; 815 Label done;
816 816
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 } 1198 }
1199 } 1199 }
1200 MarkLazyDeoptSite(); 1200 MarkLazyDeoptSite();
1201 } 1201 }
1202 1202
1203 #undef __ 1203 #undef __
1204 1204
1205 } // namespace compiler 1205 } // namespace compiler
1206 } // namespace internal 1206 } // namespace internal
1207 } // namespace v8 1207 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/jump-threading.cc ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698