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

Unified Diff: src/d8.cc

Issue 655183002: Update intialization of vtune support. (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | src/third_party/vtune/v8-vtune.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index c9de287876baec03e44ca5d509df42f1ffdf8e48..85d1048f30b81e927ba060cdc760643877e6cfcd 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -1686,7 +1686,7 @@ int Shell::Main(int argc, char* argv[]) {
}
#endif
#ifdef ENABLE_VTUNE_JIT_INTERFACE
- vTune::InitializeVtuneForV8(create_params);
+ create_params.code_event_handler = vTune::GetVtuneCodeEventHandler();
#endif
#ifndef V8_SHARED
create_params.constraints.ConfigureDefaults(
« no previous file with comments | « no previous file | src/third_party/vtune/v8-vtune.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698