diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc index d7819c40ed..d20e5857f5 100644 --- a/src/compiler/ppc/code-generator-ppc.cc +++ b/src/compiler/ppc/code-generator-ppc.cc @@ -761,7 +761,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: