Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index def08f1ab7c90a97a8c61ec594a48c7653e4d504..f16606af14e9c28f83d9572eb5ed83d3d9fab5c9 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2818,8 +2818,8 @@ bool Isolate::use_crankshaft() const { |
bool Isolate::NeedsSourcePositionsForProfiling() const { |
return FLAG_trace_deopt || FLAG_trace_turbo || FLAG_trace_turbo_graph || |
- FLAG_turbo_profiling || is_profiling() || debug_->is_active() || |
- logger_->is_logging(); |
+ FLAG_turbo_profiling || FLAG_perf_prof || is_profiling() || |
+ debug_->is_active() || logger_->is_logging(); |
} |
bool Isolate::IsArrayOrObjectPrototype(Object* object) { |