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

Unified Diff: src/compiler.h

Issue 14253015: Skip samples where top function's stack frame is not setup properly (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reverted build/common.gypi Created 7 years, 8 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') | src/cpu-profiler.cc » ('J')
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 00074c899b4d06dc58f6bb2adc52d01515fe660c..5b191c1afe400969d5176e0aa6b60b4f83640868 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -257,6 +257,17 @@ class CompilationInfo {
prologue_offset_ = prologue_offset;
}
+ int frame_destroy_offset() const {
+ ASSERT_NE(kPrologueOffsetNotSet, frame_destroy_offset_);
+ return frame_destroy_offset_;
+ }
+
+ void set_frame_destroy_offset(int frame_destroy_offset) {
+ ASSERT_EQ(kPrologueOffsetNotSet, frame_destroy_offset_);
+ frame_destroy_offset_ = frame_destroy_offset;
+ }
+
+
private:
Isolate* isolate_;
@@ -360,6 +371,7 @@ class CompilationInfo {
const char* bailout_reason_;
int prologue_offset_;
+ int frame_destroy_offset_;
// 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') | src/cpu-profiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698