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) |