Chromium Code Reviews| Index: src/api-arguments-inl.h |
| diff --git a/src/api-arguments-inl.h b/src/api-arguments-inl.h |
| index 89ac7de9466a7fc1cfe7e985ad1a6e615db494d4..77eb5af599587667d3b376bdf6345482379abed5 100644 |
| --- a/src/api-arguments-inl.h |
| +++ b/src/api-arguments-inl.h |
| @@ -20,6 +20,7 @@ namespace internal { |
| Handle<Name> name) { \ |
| Isolate* isolate = this->isolate(); \ |
| RuntimeCallTimerScope timer(isolate, &RuntimeCallStats::Function); \ |
| + TRACE_RUNTIME_CALL("Function"); \ |
|
Camillo Bruni
2016/06/12 12:33:35
Function is a macro parameter here => #Function
fmeawad
2016/06/12 15:52:22
Done.
|
| VMState<EXTERNAL> state(isolate); \ |
| ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \ |
| PropertyCallbackInfo<ApiReturn> info(begin()); \ |
| @@ -44,6 +45,7 @@ FOR_EACH_CALLBACK_TABLE_MAPPING_1_NAME(WRITE_CALL_1_NAME) |
| uint32_t index) { \ |
| Isolate* isolate = this->isolate(); \ |
| RuntimeCallTimerScope timer(isolate, &RuntimeCallStats::Function); \ |
| + TRACE_RUNTIME_CALL("Function"); \ |
|
Camillo Bruni
2016/06/12 12:33:35
same here.
fmeawad
2016/06/12 15:52:22
Done.
|
| VMState<EXTERNAL> state(isolate); \ |
| ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); \ |
| PropertyCallbackInfo<ApiReturn> info(begin()); \ |
| @@ -64,6 +66,7 @@ Handle<Object> PropertyCallbackArguments::Call( |
| Isolate* isolate = this->isolate(); |
| RuntimeCallTimerScope timer( |
| isolate, &RuntimeCallStats::GenericNamedPropertySetterCallback); |
| + TRACE_RUNTIME_CALL("GenericNamedPropertySetterCallback"); |
| VMState<EXTERNAL> state(isolate); |
| ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); |
| PropertyCallbackInfo<v8::Value> info(begin()); |
| @@ -79,6 +82,7 @@ Handle<Object> PropertyCallbackArguments::Call(IndexedPropertySetterCallback f, |
| Isolate* isolate = this->isolate(); |
| RuntimeCallTimerScope timer(isolate, |
| &RuntimeCallStats::IndexedPropertySetterCallback); |
| + TRACE_RUNTIME_CALL("IndexedPropertySetterCallback"); |
| VMState<EXTERNAL> state(isolate); |
| ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); |
| PropertyCallbackInfo<v8::Value> info(begin()); |
| @@ -93,6 +97,7 @@ void PropertyCallbackArguments::Call(AccessorNameSetterCallback f, |
| Isolate* isolate = this->isolate(); |
| RuntimeCallTimerScope timer(isolate, |
| &RuntimeCallStats::AccessorNameSetterCallback); |
| + TRACE_RUNTIME_CALL("AccessorNameSetterCallback"); |
| VMState<EXTERNAL> state(isolate); |
| ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f)); |
| PropertyCallbackInfo<void> info(begin()); |