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 c94859de45a48ead688305ec4d31efee566c37bf..fead058193ba27592e2549042353a84387088b3e 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -1565,6 +1565,9 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleDeoptimizerCall( |
// actual final call site and just bl'ing to it here, similar to what we do |
// in the lithium backend. |
if (deopt_entry == nullptr) return kTooManyDeoptimizationBailouts; |
+ DeoptimizeReason deoptimization_reason = |
+ GetDeoptimizationReason(deoptimization_id); |
+ __ RecordDeoptReason(deoptimization_reason, 0, deoptimization_id); |
__ Call(deopt_entry, RelocInfo::RUNTIME_ENTRY); |
__ CheckConstPool(false, false); |
return kSuccess; |