Index: src/compiler/ppc/code-generator-ppc.cc |
diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc |
index f74a5add8d237acd76952f1681460eba01d4f967..e82e4a114304dc35b6f4b0fc28bfb53263328d53 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -759,7 +759,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: |