Chromium Code Reviews

Unified Diff: src/builtins.cc

Issue 10824032: Enables V8 integration with the Intel VTune performance analysis tool. This allows the VTune profi… (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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) {

Powered by Google App Engine