Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index 648bee03fcd15d14028e4788255d914c4688c453..76edbb095e1c906c71c201548e475544655f799d 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -1080,7 +1080,7 @@ void LCodeGen::RegisterEnvironmentForDeoptimization( |
void LCodeGen::DeoptimizeIf(Condition cc, LInstruction* instr, |
- const char* detail, |
+ Deoptimizer::DeoptReason deopt_reason, |
Deoptimizer::BailoutType bailout_type) { |
LEnvironment* environment = instr->environment(); |
RegisterEnvironmentForDeoptimization(environment, Safepoint::kNoLazyDeopt); |
@@ -1144,7 +1144,7 @@ void LCodeGen::DeoptimizeIf(Condition cc, LInstruction* instr, |
} |
Deoptimizer::Reason reason(instr->hydrogen_value()->position().raw(), |
- instr->Mnemonic(), detail); |
+ instr->Mnemonic(), deopt_reason); |
DCHECK(info()->IsStub() || frame_is_built_); |
if (cc == no_condition && frame_is_built_) { |
DeoptComment(reason); |
@@ -1168,11 +1168,11 @@ void LCodeGen::DeoptimizeIf(Condition cc, LInstruction* instr, |
void LCodeGen::DeoptimizeIf(Condition cc, LInstruction* instr, |
- const char* detail) { |
+ Deoptimizer::DeoptReason deopt_reason) { |
Deoptimizer::BailoutType bailout_type = info()->IsStub() |
? Deoptimizer::LAZY |
: Deoptimizer::EAGER; |
- DeoptimizeIf(cc, instr, detail, bailout_type); |
+ DeoptimizeIf(cc, instr, deopt_reason, bailout_type); |
} |
@@ -5311,7 +5311,7 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr, Label* done) { |
__ bind(&check_false); |
__ cmp(input_reg, factory()->false_value()); |
DeoptimizeIf(not_equal, instr, |
- Deoptimizer::kNotAHeapNumberUndefinedTrueFalse); |
+ Deoptimizer::kNotAHeapNumberUndefinedBoolean); |
__ Move(input_reg, Immediate(0)); |
} else { |
// TODO(olivf) Converting a number on the fpu is actually quite slow. We |