Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index df96d89216400c52fc6a4214f68643381da95ec2..5cf9d97ae6c3f3cee78dd42c6d2fcfb1bc743eed 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -533,7 +533,7 @@ void CodeGenerator::RecordCallPosition(Instruction* instr) { |
// by calls.) |
for (size_t i = 0; i < descriptor->GetSize(); i++) { |
InstructionOperand* op = instr->InputAt(frame_state_offset + 1 + i); |
- CHECK(op->IsStackSlot() || op->IsDoubleStackSlot() || op->IsImmediate()); |
+ CHECK(op->IsStackSlot() || op->IsFPStackSlot() || op->IsImmediate()); |
} |
#endif |
safepoints()->RecordLazyDeoptimizationIndex(deopt_state_id); |
@@ -715,7 +715,7 @@ void CodeGenerator::AddTranslationForOperand(Translation* translation, |
} else { |
CHECK(false); |
} |
- } else if (op->IsDoubleStackSlot()) { |
+ } else if (op->IsFPStackSlot()) { |
DCHECK(IsFloatingPoint(type.representation())); |
translation->StoreDoubleStackSlot(LocationOperand::cast(op)->index()); |
} else if (op->IsRegister()) { |
@@ -733,7 +733,7 @@ void CodeGenerator::AddTranslationForOperand(Translation* translation, |
} else { |
CHECK(false); |
} |
- } else if (op->IsDoubleRegister()) { |
+ } else if (op->IsFPRegister()) { |
DCHECK(IsFloatingPoint(type.representation())); |
InstructionOperandConverter converter(this, instr); |
translation->StoreDoubleRegister(converter.ToDoubleRegister(op)); |