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

Unified Diff: src/compiler.h

Issue 1376333003: Eliminate no_frame_range data (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | « src/arm64/lithium-codegen-arm64.cc ('k') | 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 ed3855971df714d25d3a6df7be93689ea0918b02..d655571362469bc091ad0e8a5acf1126cd06944d 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -21,12 +21,6 @@ class JavaScriptFrame;
class ParseInfo;
class ScriptData;
-struct OffsetRange {
- OffsetRange(int from, int to) : from(from), to(to) {}
- int from;
- int to;
-};
-
// This class encapsulates encoding and decoding of sources positions from
// which hydrogen values originated.
@@ -361,19 +355,6 @@ class CompilationInfo {
prologue_offset_ = prologue_offset;
}
- // Adds offset range [from, to) where fp register does not point
- // to the current frame base. Used in CPU profiler to detect stack
- // samples where top frame is not set up.
- inline void AddNoFrameRange(int from, int to) {
- if (no_frame_ranges_) no_frame_ranges_->Add(OffsetRange(from, to));
- }
-
- List<OffsetRange>* ReleaseNoFrameRanges() {
- List<OffsetRange>* result = no_frame_ranges_;
- no_frame_ranges_ = NULL;
- return result;
- }
-
int start_position_for(uint32_t inlining_id) {
return inlined_function_infos_.at(inlining_id).start_position;
}
@@ -491,7 +472,6 @@ class CompilationInfo {
int prologue_offset_;
- List<OffsetRange>* no_frame_ranges_;
std::vector<InlinedFunctionInfo> inlined_function_infos_;
bool track_positions_;
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698