Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1005)

Unified Diff: src/x64/lithium-codegen-x64.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/x64/lithium-codegen-x64.cc
===================================================================
--- src/x64/lithium-codegen-x64.cc (revision 12182)
+++ src/x64/lithium-codegen-x64.cc (working copy)
@@ -244,6 +244,14 @@
Comment(";;; @%d: %s.", current_instruction_, instr->Mnemonic());
instr->CompileToNative(this);
}
+#ifdef ENABLE_VTUNE_JIT_INTERFACE
+ if (instr->HasPointerMap()) {
+ LPointerMap* pointers = instr->pointer_map();
+ if (pointers->position() != RelocInfo::kNoPosition) {
+ RecordPosition(pointers->position());
+ }
+ }
+#endif
}
EnsureSpaceForLazyDeopt(Deoptimizer::patch_size());
return !is_aborted();

Powered by Google App Engine
This is Rietveld 408576698