Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index 3d1c69cb18662069fb385a2fdd7e02ba6fa26b7e..50d4b388cc47d3df1d7c82acef6f346b2479e953 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -680,6 +680,24 @@ void HandleScopeImplementer::DeleteExtensions(internal::Object** prev_limit) { |
} |
+// Interceptor functions called from generated inline caches to notify |
+// CPU profiler that external callbacks are invoked. |
+v8::Handle<v8::Value> InvokeAccessorGetter( |
+ v8::Local<v8::String> property, |
+ const v8::AccessorInfo& info, |
+ v8::AccessorGetter getter); |
+ |
+ |
+void InvokeAccessorGetterCallback( |
+ v8::Local<v8::String> property, |
+ const v8::PropertyCallbackInfo<v8::Value>& info, |
+ v8::AccessorGetterCallback getter); |
+ |
+v8::Handle<v8::Value> InvokeInvocationCallback(const v8::Arguments& args, |
+ v8::InvocationCallback callback); |
+void InvokeFunctionCallback(const v8::FunctionCallbackInfo<v8::Value>& info, |
+ v8::FunctionCallback callback); |
+ |
class Testing { |
public: |
static v8::Testing::StressType stress_type() { return stress_type_; } |