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

Side by Side Diff: src/compiler/arm64/code-generator-arm64.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, 9 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/arm/code-generator-arm.cc ('k') | src/compiler/code-generator.h » ('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 6
7 #include "src/arm64/macro-assembler-arm64.h" 7 #include "src/arm64/macro-assembler-arm64.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 UNREACHABLE(); 834 UNREACHABLE();
835 } 835 }
836 } else { 836 } else {
837 Condition cc = FlagsConditionToCondition(condition); 837 Condition cc = FlagsConditionToCondition(condition);
838 __ B(cc, tlabel); 838 __ B(cc, tlabel);
839 } 839 }
840 if (!branch->fallthru) __ B(flabel); // no fallthru to flabel. 840 if (!branch->fallthru) __ B(flabel); // no fallthru to flabel.
841 } 841 }
842 842
843 843
844 void CodeGenerator::AssembleArchJump(BasicBlock::RpoNumber target) { 844 void CodeGenerator::AssembleArchJump(RpoNumber target) {
845 if (!IsNextInAssemblyOrder(target)) __ B(GetLabel(target)); 845 if (!IsNextInAssemblyOrder(target)) __ B(GetLabel(target));
846 } 846 }
847 847
848 848
849 // Assemble boolean materializations after this instruction. 849 // Assemble boolean materializations after this instruction.
850 void CodeGenerator::AssembleArchBoolean(Instruction* instr, 850 void CodeGenerator::AssembleArchBoolean(Instruction* instr,
851 FlagsCondition condition) { 851 FlagsCondition condition) {
852 Arm64OperandConverter i(this, instr); 852 Arm64OperandConverter i(this, instr);
853 853
854 // Materialize a full 64-bit 1 or 0 value. The result register is always the 854 // Materialize a full 64-bit 1 or 0 value. The result register is always the
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 } 1155 }
1156 } 1156 }
1157 MarkLazyDeoptSite(); 1157 MarkLazyDeoptSite();
1158 } 1158 }
1159 1159
1160 #undef __ 1160 #undef __
1161 1161
1162 } // namespace compiler 1162 } // namespace compiler
1163 } // namespace internal 1163 } // namespace internal
1164 } // namespace v8 1164 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/code-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698