Index: src/ic.cc |
=================================================================== |
--- src/ic.cc (revision 12182) |
+++ src/ic.cc (working copy) |
@@ -35,6 +35,7 @@ |
#include "ic-inl.h" |
#include "runtime.h" |
#include "stub-cache.h" |
+#include "third_party/vtune/vtune-jit.h" |
namespace v8 { |
namespace internal { |
@@ -1069,6 +1070,7 @@ |
isolate()->counters()->keyed_load_polymorphic_stubs()->Increment(); |
PROFILE(isolate(), |
CodeCreateEvent(Logger::KEYED_LOAD_MEGAMORPHIC_IC_TAG, *code, 0)); |
+ VTUNEJIT(AddCode("KEYED_LD_MEGAMORPHIC_IC", code)); |
return code; |
} |
@@ -1795,6 +1797,7 @@ |
isolate()->counters()->keyed_store_polymorphic_stubs()->Increment(); |
PROFILE(isolate(), |
CodeCreateEvent(Logger::KEYED_STORE_MEGAMORPHIC_IC_TAG, *code, 0)); |
+ VTUNEJIT(AddCode("KEYED_STORE_MEGAMORPHIC_IC", code)); |
return code; |
} |