| Index: src/api-arguments-inl.h
|
| diff --git a/src/api-arguments-inl.h b/src/api-arguments-inl.h
|
| index 89ac7de9466a7fc1cfe7e985ad1a6e615db494d4..eefdf35adc0e1f7abf62f0a9c5f13cebe52bcb26 100644
|
| --- a/src/api-arguments-inl.h
|
| +++ b/src/api-arguments-inl.h
|
| @@ -20,6 +20,8 @@ namespace internal {
|
| Handle<Name> name) { \
|
| Isolate* isolate = this->isolate(); \
|
| RuntimeCallTimerScope timer(isolate, &RuntimeCallStats::Function); \
|
| + TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( \
|
| + isolate, &tracing::TraceEventStatsTable::Function); \
|
| VMState<EXTERNAL> state(isolate); \
|
| ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \
|
| PropertyCallbackInfo<ApiReturn> info(begin()); \
|
| @@ -44,6 +46,8 @@ FOR_EACH_CALLBACK_TABLE_MAPPING_1_NAME(WRITE_CALL_1_NAME)
|
| uint32_t index) { \
|
| Isolate* isolate = this->isolate(); \
|
| RuntimeCallTimerScope timer(isolate, &RuntimeCallStats::Function); \
|
| + TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( \
|
| + isolate, &tracing::TraceEventStatsTable::Function); \
|
| VMState<EXTERNAL> state(isolate); \
|
| ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \
|
| PropertyCallbackInfo<ApiReturn> info(begin()); \
|
| @@ -64,6 +68,9 @@ Handle<Object> PropertyCallbackArguments::Call(
|
| Isolate* isolate = this->isolate();
|
| RuntimeCallTimerScope timer(
|
| isolate, &RuntimeCallStats::GenericNamedPropertySetterCallback);
|
| + TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED(
|
| + isolate,
|
| + &tracing::TraceEventStatsTable::GenericNamedPropertySetterCallback);
|
| VMState<EXTERNAL> state(isolate);
|
| ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f));
|
| PropertyCallbackInfo<v8::Value> info(begin());
|
| @@ -79,6 +86,8 @@ Handle<Object> PropertyCallbackArguments::Call(IndexedPropertySetterCallback f,
|
| Isolate* isolate = this->isolate();
|
| RuntimeCallTimerScope timer(isolate,
|
| &RuntimeCallStats::IndexedPropertySetterCallback);
|
| + TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED(
|
| + isolate, &tracing::TraceEventStatsTable::IndexedPropertySetterCallback);
|
| VMState<EXTERNAL> state(isolate);
|
| ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f));
|
| PropertyCallbackInfo<v8::Value> info(begin());
|
| @@ -93,6 +102,8 @@ void PropertyCallbackArguments::Call(AccessorNameSetterCallback f,
|
| Isolate* isolate = this->isolate();
|
| RuntimeCallTimerScope timer(isolate,
|
| &RuntimeCallStats::AccessorNameSetterCallback);
|
| + TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED(
|
| + isolate, &tracing::TraceEventStatsTable::AccessorNameSetterCallback);
|
| VMState<EXTERNAL> state(isolate);
|
| ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f));
|
| PropertyCallbackInfo<void> info(begin());
|
|
|