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

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

Issue 893533003: Revert "Make GCC happy again." and "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". (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.cc ('k') | src/compiler/arm/instruction-selector-arm.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 6
7 #include "src/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 } 738 }
739 739
740 740
741 // Assembles boolean materializations after an instruction. 741 // Assembles boolean materializations after an instruction.
742 void CodeGenerator::AssembleArchBoolean(Instruction* instr, 742 void CodeGenerator::AssembleArchBoolean(Instruction* instr,
743 FlagsCondition condition) { 743 FlagsCondition condition) {
744 ArmOperandConverter i(this, instr); 744 ArmOperandConverter i(this, instr);
745 745
746 // Materialize a full 32-bit 1 or 0 value. The result register is always the 746 // Materialize a full 32-bit 1 or 0 value. The result register is always the
747 // last output of the instruction. 747 // last output of the instruction.
748 DCHECK_NE(0u, instr->OutputCount()); 748 DCHECK_NE(0, instr->OutputCount());
749 Register reg = i.OutputRegister(instr->OutputCount() - 1); 749 Register reg = i.OutputRegister(instr->OutputCount() - 1);
750 Condition cc = FlagsConditionToCondition(condition); 750 Condition cc = FlagsConditionToCondition(condition);
751 __ mov(reg, Operand(0)); 751 __ mov(reg, Operand(0));
752 __ mov(reg, Operand(1), LeaveCC, cc); 752 __ mov(reg, Operand(1), LeaveCC, cc);
753 } 753 }
754 754
755 755
756 void CodeGenerator::AssembleDeoptimizerCall(int deoptimization_id) { 756 void CodeGenerator::AssembleDeoptimizerCall(int deoptimization_id) {
757 Address deopt_entry = Deoptimizer::GetDeoptimizationEntry( 757 Address deopt_entry = Deoptimizer::GetDeoptimizationEntry(
758 isolate(), deoptimization_id, Deoptimizer::LAZY); 758 isolate(), deoptimization_id, Deoptimizer::LAZY);
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 } 1035 }
1036 } 1036 }
1037 MarkLazyDeoptSite(); 1037 MarkLazyDeoptSite();
1038 } 1038 }
1039 1039
1040 #undef __ 1040 #undef __
1041 1041
1042 } // namespace compiler 1042 } // namespace compiler
1043 } // namespace internal 1043 } // namespace internal
1044 } // namespace v8 1044 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/compiler/arm/instruction-selector-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698