Index: src/code-stubs.cc |
=================================================================== |
--- src/code-stubs.cc (revision 12182) |
+++ src/code-stubs.cc (working copy) |
@@ -33,6 +33,7 @@ |
#include "factory.h" |
#include "gdb-jit.h" |
#include "macro-assembler.h" |
+#include "third_party/vtune/vtune-jit.h" |
namespace v8 { |
namespace internal { |
@@ -77,6 +78,7 @@ |
SmartArrayPointer<const char> name = GetName(); |
PROFILE(isolate, CodeCreateEvent(Logger::STUB_TAG, code, *name)); |
GDBJIT(AddCode(GDBJITInterface::STUB, *name, code)); |
+ VTUNEJIT(AddCode(*name, code)); |
Counters* counters = isolate->counters(); |
counters->total_stubs_code_size()->Increment(code->instruction_size()); |
} |