summaryrefslogtreecommitdiff
path: root/deps/v8/src/vm-state-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/vm-state-inl.h')
-rw-r--r--deps/v8/src/vm-state-inl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/deps/v8/src/vm-state-inl.h b/deps/v8/src/vm-state-inl.h
index c8bd4e8082..35b69a1ddc 100644
--- a/deps/v8/src/vm-state-inl.h
+++ b/deps/v8/src/vm-state-inl.h
@@ -63,19 +63,11 @@ ExternalCallbackScope::ExternalCallbackScope(Isolate* isolate, Address callback)
scope_address_ = Simulator::current(isolate)->get_sp();
#endif
isolate_->set_external_callback_scope(this);
- if (FLAG_runtime_call_stats) {
- RuntimeCallStats* stats = isolate->counters()->runtime_call_stats();
- timer_.Initialize(&stats->ExternalCallback, stats->current_timer());
- stats->Enter(&timer_);
- }
TRACE_EVENT_BEGIN0(TRACE_DISABLED_BY_DEFAULT("v8.runtime"),
"V8.ExternalCallback");
}
ExternalCallbackScope::~ExternalCallbackScope() {
- if (FLAG_runtime_call_stats) {
- isolate_->counters()->runtime_call_stats()->Leave(&timer_);
- }
isolate_->set_external_callback_scope(previous_scope_);
TRACE_EVENT_END0(TRACE_DISABLED_BY_DEFAULT("v8.runtime"),
"V8.ExternalCallback");