| Index: src/ppc/assembler-ppc.cc
|
| diff --git a/src/ppc/assembler-ppc.cc b/src/ppc/assembler-ppc.cc
|
| index 322f74a980c9d24dd00ff344b36d3a45c134d33c..38c8f014392ffb05c4533c67f2aae1487739f570 100644
|
| --- a/src/ppc/assembler-ppc.cc
|
| +++ b/src/ppc/assembler-ppc.cc
|
| @@ -2196,7 +2196,7 @@ void Assembler::RecordComment(const char* msg) {
|
|
|
|
|
| void Assembler::RecordDeoptReason(const int reason, const int raw_position) {
|
| - if (FLAG_trace_deopt) {
|
| + if (FLAG_trace_deopt || isolate()->cpu_profiler()->is_profiling()) {
|
| EnsureSpace ensure_space(this);
|
| RecordRelocInfo(RelocInfo::POSITION, raw_position);
|
| RecordRelocInfo(RelocInfo::DEOPT_REASON, reason);
|
|
|