Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index 3737282e75e94c487cdc97019a3eefbf0aea76bd..3683740b8924065cdf3b5cc283d9a99bc1086c4d 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -587,7 +587,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: |