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

Unified Diff: src/compiler.h

Issue 995183005: CpuProfiler: replace FLAG_hydrogen_track_positions with is_tracking_positions method on Compilation… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebaselined 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
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 8019e9360a161e0ef7a001cae9c6d20f43187e04..3f2aa4beb9474976891c293d3a041475f780fd5e 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -168,6 +168,8 @@ class CompilationInfo {
parameter_count_ = parameter_count;
}
+ bool is_tracking_positions() const { return track_positions_; }
+
bool is_calling() const {
return GetFlag(kDeferredCalling) || GetFlag(kNonDeferredCalling);
}
@@ -449,6 +451,7 @@ class CompilationInfo {
List<OffsetRange>* no_frame_ranges_;
std::vector<InlinedFunctionInfo>* inlined_function_infos_;
+ bool track_positions_;
// A copy of shared_info()->opt_count() to avoid handle deref
// during graph optimization.
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698