Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: src/api.cc

Issue 10706002: Implements a new API to set a function entry hook for profiling. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 0d88047aa212f4d0abcba489cae3247774e6e397..a1ced657f2d375dd1fa522d45c8639f3a97c2560 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -4221,6 +4221,11 @@ void v8::V8::SetReturnAddressLocationResolver(
}
+void v8::V8::SetFunctionEntryHook(uintptr_t entry_hook) {
+ i::V8::SetFunctionEntryHook(entry_hook);
+}
+
+
bool v8::V8::Dispose() {
i::Isolate* isolate = i::Isolate::Current();
if (!ApiCheck(isolate != NULL && isolate->IsDefaultIsolate(),

Powered by Google App Engine
This is Rietveld 408576698