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

Unified Diff: src/frames.h

Issue 18269003: Correctly report stack trace when current function is FunctionApply builtin (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix test Created 7 years, 6 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/frames.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index 9ca218ac52d848405662dbbfad4816f5d12b2b18..ccbb2d1bb82046287a6b71642c555ef857b151ff 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -886,6 +886,8 @@ class SafeStackFrameIterator: public StackFrameIteratorBase {
inline JavaScriptFrame* frame() const;
void Advance();
+ StackFrame::Type top_frame_type() const { return top_frame_type_; }
+
private:
void AdvanceOneFrame();
@@ -899,6 +901,7 @@ class SafeStackFrameIterator: public StackFrameIteratorBase {
const Address low_bound_;
const Address high_bound_;
+ StackFrame::Type top_frame_type_;
};
« no previous file with comments | « no previous file | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698