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

Unified Diff: src/compiler/instruction.cc

Issue 2090993002: Fix '[tests] Don't test moves between different reps in test-gap-resolver.cc' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/assembler.cc ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction.cc
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc
index 8f12efe7cb11458e29915df89aff3559e86187b1..747c14c5ca5853746e83b28bcf29de4af290c0b6 100644
--- a/src/compiler/instruction.cc
+++ b/src/compiler/instruction.cc
@@ -250,11 +250,14 @@ ExplicitOperand::ExplicitOperand(LocationKind kind, MachineRepresentation rep,
int index)
: LocationOperand(EXPLICIT, kind, rep, index) {
DCHECK_IMPLIES(kind == REGISTER && !IsFloatingPoint(rep),
- Register::from_code(index).IsAllocatable());
- DCHECK_IMPLIES(kind == REGISTER && (rep == MachineRepresentation::kFloat32),
- FloatRegister::from_code(index).IsAllocatable());
+ Register::from_code(index).IsAllocatable(
+ RegisterConfiguration::TURBOFAN));
+ DCHECK_IMPLIES(kind == REGISTER && rep == MachineRepresentation::kFloat32,
+ FloatRegister::from_code(index).IsAllocatable(
+ RegisterConfiguration::TURBOFAN));
DCHECK_IMPLIES(kind == REGISTER && (rep == MachineRepresentation::kFloat64),
- DoubleRegister::from_code(index).IsAllocatable());
+ DoubleRegister::from_code(index).IsAllocatable(
+ RegisterConfiguration::TURBOFAN));
}
Instruction::Instruction(InstructionCode opcode)
« no previous file with comments | « src/assembler.cc ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698