Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 00cc36c61c64114d1ecb906a491f705cac45e29d..c9abd23cdb0517861bc9720cf888f78bcdf4940b 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -72,7 +72,6 @@ |
#define LOG_API(isolate, class_name, function_name) \ |
i::RuntimeCallTimerScope _runtime_timer( \ |
isolate, &i::RuntimeCallStats::API_##class_name##_##function_name); \ |
- TRACE_RUNTIME_CALL(#class_name "::" #function_name); \ |
LOG(isolate, ApiEntryCall("v8::" #class_name "::" #function_name)) |
#define ENTER_V8(isolate) i::VMState<v8::OTHER> __state__((isolate)) |
@@ -1746,7 +1745,6 @@ |
i::AggregatingHistogramTimerScope timer(isolate->counters()->compile_lazy()); |
i::TimerEventScope<i::TimerEventExecute> timer_scope(isolate); |
TRACE_EVENT0("v8", "V8.Execute"); |
- TRACE_CHECK_AND_SET_RUNTIME_CALLS_TRACING(); |
auto fun = i::Handle<i::JSFunction>::cast(Utils::OpenHandle(this)); |
i::Handle<i::Object> receiver = isolate->global_proxy(); |
Local<Value> result; |
@@ -1801,7 +1799,6 @@ |
{ |
i::HistogramTimerScope total(isolate->counters()->compile_script(), true); |
TRACE_EVENT0("v8", "V8.CompileScript"); |
- TRACE_CHECK_AND_SET_RUNTIME_CALLS_TRACING(); |
i::Handle<i::Object> name_obj; |
i::Handle<i::Object> source_map_url; |
int line_offset = 0; |
@@ -4326,7 +4323,6 @@ |
i::HistogramTimerScope execute_timer(isolate->counters()->execute(), true); |
i::TimerEventScope<i::TimerEventExecute> timer_scope(isolate); |
TRACE_EVENT0("v8", "V8.Execute"); |
- TRACE_CHECK_AND_SET_RUNTIME_CALLS_TRACING(); |
auto self = Utils::OpenHandle(this); |
auto recv_obj = Utils::OpenHandle(*recv); |
STATIC_ASSERT(sizeof(v8::Local<v8::Value>) == sizeof(i::Object**)); |
@@ -4355,7 +4351,6 @@ |
i::HistogramTimerScope execute_timer(isolate->counters()->execute(), true); |
i::TimerEventScope<i::TimerEventExecute> timer_scope(isolate); |
TRACE_EVENT0("v8", "V8.Execute"); |
- TRACE_CHECK_AND_SET_RUNTIME_CALLS_TRACING(); |
auto self = Utils::OpenHandle(this); |
STATIC_ASSERT(sizeof(v8::Local<v8::Value>) == sizeof(i::Object**)); |
i::Handle<i::Object>* args = reinterpret_cast<i::Handle<i::Object>*>(argv); |
@@ -4406,7 +4401,6 @@ |
i::HistogramTimerScope execute_timer(isolate->counters()->execute(), true); |
i::TimerEventScope<i::TimerEventExecute> timer_scope(isolate); |
TRACE_EVENT0("v8", "V8.Execute"); |
- TRACE_CHECK_AND_SET_RUNTIME_CALLS_TRACING(); |
auto self = Utils::OpenHandle(this); |
STATIC_ASSERT(sizeof(v8::Local<v8::Value>) == sizeof(i::Object**)); |
i::Handle<i::Object>* args = reinterpret_cast<i::Handle<i::Object>*>(argv); |
@@ -4432,7 +4426,6 @@ |
i::HistogramTimerScope execute_timer(isolate->counters()->execute(), true); |
i::TimerEventScope<i::TimerEventExecute> timer_scope(isolate); |
TRACE_EVENT0("v8", "V8.Execute"); |
- TRACE_CHECK_AND_SET_RUNTIME_CALLS_TRACING(); |
auto self = Utils::OpenHandle(this); |
i::Handle<i::Object> recv_obj = Utils::OpenHandle(*recv); |
STATIC_ASSERT(sizeof(v8::Local<v8::Value>) == sizeof(i::Object**)); |
@@ -5577,8 +5570,6 @@ |
v8::Local<Value> global_object) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(external_isolate); |
LOG_API(isolate, Context, New); |
- TRACE_EVENT0("v8", "V8.NewContext"); |
- TRACE_CHECK_AND_SET_RUNTIME_CALLS_TRACING(); |
i::HandleScope scope(isolate); |
ExtensionConfiguration no_extensions; |
if (extensions == NULL) extensions = &no_extensions; |
@@ -8771,7 +8762,6 @@ |
Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); |
RuntimeCallTimerScope timer(isolate, |
&RuntimeCallStats::AccessorGetterCallback); |
- TRACE_RUNTIME_CALL("AccessorGetterCallback"); |
Address getter_address = reinterpret_cast<Address>(reinterpret_cast<intptr_t>( |
getter)); |
VMState<EXTERNAL> state(isolate); |
@@ -8785,7 +8775,6 @@ |
Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); |
RuntimeCallTimerScope timer(isolate, |
&RuntimeCallStats::InvokeFunctionCallback); |
- TRACE_RUNTIME_CALL("InvokeFunctionCallback"); |
Address callback_address = |
reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); |
VMState<EXTERNAL> state(isolate); |