diff --git a/src/codegen/compiler.cc b/src/codegen/compiler.cc index 171f508ad2..1823ff4f86 100644 --- a/src/codegen/compiler.cc +++ b/src/codegen/compiler.cc @@ -1971,15 +1971,6 @@ bool Compiler::CompileSharedWithBaseline(Isolate* isolate, // Arm back edges for OSR shared->GetBytecodeArray(isolate).set_osr_loop_nesting_level( AbstractCode::kMaxLoopNestingMarker); - if (FLAG_trace_osr) { - JavaScriptFrameIterator it(isolate); - DCHECK(it.frame()->is_unoptimized()); - UnoptimizedFrame* frame = UnoptimizedFrame::cast(it.frame()); - CodeTracer::Scope scope(isolate->GetCodeTracer()); - PrintF(scope.file(), - "[OSR - Entry at OSR bytecode offset %d into baseline code]\n", - frame->GetBytecodeOffset()); - } } } double time_taken_ms = time_taken.InMillisecondsF();