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

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

Issue 877753007: Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: VS201x now happy? 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
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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 } 839 }
840 840
841 841
842 // Assemble boolean materializations after this instruction. 842 // Assemble boolean materializations after this instruction.
843 void CodeGenerator::AssembleArchBoolean(Instruction* instr, 843 void CodeGenerator::AssembleArchBoolean(Instruction* instr,
844 FlagsCondition condition) { 844 FlagsCondition condition) {
845 Arm64OperandConverter i(this, instr); 845 Arm64OperandConverter i(this, instr);
846 846
847 // Materialize a full 64-bit 1 or 0 value. The result register is always the 847 // Materialize a full 64-bit 1 or 0 value. The result register is always the
848 // last output of the instruction. 848 // last output of the instruction.
849 DCHECK_NE(0, instr->OutputCount()); 849 DCHECK_NE(0u, instr->OutputCount());
850 Register reg = i.OutputRegister(instr->OutputCount() - 1); 850 Register reg = i.OutputRegister(instr->OutputCount() - 1);
851 Condition cc = FlagsConditionToCondition(condition); 851 Condition cc = FlagsConditionToCondition(condition);
852 __ Cset(reg, cc); 852 __ Cset(reg, cc);
853 } 853 }
854 854
855 855
856 void CodeGenerator::AssembleDeoptimizerCall(int deoptimization_id) { 856 void CodeGenerator::AssembleDeoptimizerCall(int deoptimization_id) {
857 Address deopt_entry = Deoptimizer::GetDeoptimizationEntry( 857 Address deopt_entry = Deoptimizer::GetDeoptimizationEntry(
858 isolate(), deoptimization_id, Deoptimizer::LAZY); 858 isolate(), deoptimization_id, Deoptimizer::LAZY);
859 __ Call(deopt_entry, RelocInfo::RUNTIME_ENTRY); 859 __ Call(deopt_entry, RelocInfo::RUNTIME_ENTRY);
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 } 1110 }
1111 } 1111 }
1112 MarkLazyDeoptSite(); 1112 MarkLazyDeoptSite();
1113 } 1113 }
1114 1114
1115 #undef __ 1115 #undef __
1116 1116
1117 } // namespace compiler 1117 } // namespace compiler
1118 } // namespace internal 1118 } // namespace internal
1119 } // namespace v8 1119 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/arm64/instruction-selector-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698