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( |