Index: src/builtins.cc |
=================================================================== |
--- src/builtins.cc (revision 12182) |
+++ src/builtins.cc (working copy) |
@@ -36,6 +36,7 @@ |
#include "heap-profiler.h" |
#include "mark-compact.h" |
#include "vm-state-inl.h" |
+#include "third_party/vtune/vtune-jit.h" |
namespace v8 { |
namespace internal { |
@@ -1646,6 +1647,8 @@ |
GDBJIT(AddCode(GDBJITInterface::BUILTIN, |
functions[i].s_name, |
Code::cast(code))); |
+ VTUNEJIT(AddCode(functions[i].s_name, |
+ Code::cast(code))); |
builtins_[i] = code; |
#ifdef ENABLE_DISASSEMBLER |
if (FLAG_print_builtin_code) { |