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 9e88bf184ddf9e62dda1f5929a89cfd048608591..8857a715e1fdaf99bdae4e9d2670e6f199466ea1 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -2128,6 +2128,9 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleDeoptimizerCall( |
Address deopt_entry = Deoptimizer::GetDeoptimizationEntry( |
isolate(), deoptimization_id, bailout_type); |
if (deopt_entry == nullptr) return kTooManyDeoptimizationBailouts; |
+ DeoptimizeReason deoptimization_reason = |
+ GetDeoptimizationReason(deoptimization_id); |
+ __ RecordDeoptReason(deoptimization_reason, 0, deoptimization_id); |
__ Call(deopt_entry, RelocInfo::RUNTIME_ENTRY); |
return kSuccess; |
} |