Chromium Code Reviews

Unified Diff: src/api.cc

Issue 10837021: add ETW for V8 symbols
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « include/v8.h ('k') | src/log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index d439472536cdb019fe8fc1b7c4413f114c7893bf..02295899ffba0ac1e7dbc0b5c56cd060aa84251b 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -5416,6 +5416,13 @@ bool V8::IsExecutionTerminating(Isolate* isolate) {
}
+void V8::SetCodeAddressEventCallback(CodeAddressEvent callback,
+ bool enumExisting) {
+ i::CodeAddressNotification::SetCodeAddressEventCallback(callback,
+ enumExisting);
+}
+
+
Isolate* Isolate::GetCurrent() {
i::Isolate* isolate = i::Isolate::UncheckedCurrent();
return reinterpret_cast<Isolate*>(isolate);
« no previous file with comments | « include/v8.h ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine