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

Unified Diff: src/hydrogen.cc

Issue 1013143003: CpuProfiler: push the collected information about deopts to cpu profiler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 5 years, 9 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/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 6f349b79c4a1eac2e3b9ec332f49d63bd93071e7..4ab3660ad765a682f6f9cd9bfc018d8a45d92072 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -3482,7 +3482,7 @@ void HGraph::FinalizeUniqueness() {
int HGraph::SourcePositionToScriptPosition(SourcePosition pos) {
- return (info()->is_tracking_positions() && !pos.IsUnknown())
+ return (FLAG_hydrogen_track_positions && !pos.IsUnknown())
? info()->start_position_for(pos.inlining_id()) + pos.position()
: pos.raw();
}
« src/compiler.h ('K') | « src/cpu-profiler.cc ('k') | src/profile-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698