Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index 8fc4ac8cffc75125c9847e559a19f01554bc5e59..9bad20fe87fb56adab3738aef13d93486f743e54 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -496,7 +496,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: |