Index: src/compiler-dispatcher/compiler-dispatcher-tracer.cc |
diff --git a/src/compiler-dispatcher/compiler-dispatcher-tracer.cc b/src/compiler-dispatcher/compiler-dispatcher-tracer.cc |
index 0370d8e9958d57e6bd968ae4d84a41a22cb1e3d1..310420a0d51e8d5cae09c0138d3c0c7c0c4ed592 100644 |
--- a/src/compiler-dispatcher/compiler-dispatcher-tracer.cc |
+++ b/src/compiler-dispatcher/compiler-dispatcher-tracer.cc |
@@ -24,11 +24,6 @@ CompilerDispatcherTracer::Scope::Scope(CompilerDispatcherTracer* tracer, |
ScopeID scope_id, size_t num) |
: tracer_(tracer), scope_id_(scope_id), num_(num) { |
start_time_ = MonotonicallyIncreasingTimeInMs(); |
- // TODO(cbruni): remove once we fully moved to a trace-based system. |
- if (V8_UNLIKELY(FLAG_runtime_stats)) { |
- RuntimeCallStats::Enter(tracer_->runtime_call_stats_, &timer_, |
- &RuntimeCallStats::CompilerDispatcher); |
- } |
} |
CompilerDispatcherTracer::Scope::~Scope() { |
@@ -53,10 +48,6 @@ CompilerDispatcherTracer::Scope::~Scope() { |
tracer_->RecordFinalizeCompiling(elapsed); |
break; |
} |
- // TODO(cbruni): remove once we fully moved to a trace-based system. |
- if (V8_UNLIKELY(FLAG_runtime_stats)) { |
- RuntimeCallStats::Leave(tracer_->runtime_call_stats_, &timer_); |
- } |
} |
// static |