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 2f70dd28da028a9c00808ad40dd12809e661a2f6..85480f79a72f0434cf1a636f1460ffff1449baf0 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -2006,6 +2006,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); |
return kSuccess; |
} |