Index: src/compiler/x87/code-generator-x87.cc |
diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc |
index 59832b43ff24cc94a821500292f8718b6db39196..3ea22d522fe21933f8b763305ffee338d98de49a 100644 |
--- a/src/compiler/x87/code-generator-x87.cc |
+++ b/src/compiler/x87/code-generator-x87.cc |
@@ -505,7 +505,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ fild_s(MemOperand(esp, 0)); |
__ lea(esp, Operand(esp, kPointerSize)); |
- AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); |
+ Deoptimizer::BailoutType bailout_type = |
+ Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
+ AssembleDeoptimizerCall(deopt_state_id, bailout_type); |
break; |
} |
case kArchRet: |