Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index d21677274b8d79c4a05e19605c62e5ad66f2a582..8054d56e5498aaff316f3cdc62bbe330aea4cd45 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -456,7 +456,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kArchDeoptimize: { |
int deopt_state_id = |
BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
- 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: |