Commit 00968fe4 authored by Mythri A's avatar Mythri A Committed by Commit Bot

[turbofan] Print dependent code deopts with --trace-deopt

Dependent code deopts were only printed with --trace-deopt-verbose
earlier. These just print one line and are helpful with --trace-deopt.
If we don't print these with --trace-deopt, it appears as if
we are optimizing without any deopts in between which is a bit
confusing.

Change-Id: I29b0f2ebbaac2a1ffc498e93c8433c986e429ef3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2573485Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Commit-Queue: Mythri Alle <mythria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71639}
parent aac25548
...@@ -761,7 +761,7 @@ void Deoptimizer::TraceDeoptEnd(double deopt_duration) { ...@@ -761,7 +761,7 @@ void Deoptimizer::TraceDeoptEnd(double deopt_duration) {
// static // static
void Deoptimizer::TraceMarkForDeoptimization(Code code, const char* reason) { void Deoptimizer::TraceMarkForDeoptimization(Code code, const char* reason) {
if (!FLAG_trace_deopt_verbose) return; if (!FLAG_trace_deopt) return;
DisallowGarbageCollection no_gc; DisallowGarbageCollection no_gc;
Isolate* isolate = code.GetIsolate(); Isolate* isolate = code.GetIsolate();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment