Commit 49c31d49 authored by yurys@chromium.org's avatar yurys@chromium.org

frames.h/cc cleanup

BUG=None
R=jkummerow@chromium.org, loislo@chromium.org

Review URL: https://codereview.chromium.org/14650002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14496 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 6e4a8fec
...@@ -168,7 +168,6 @@ void StackFrameIterator::Reset() { ...@@ -168,7 +168,6 @@ void StackFrameIterator::Reset() {
reinterpret_cast<Address*>(StandardFrame::ComputePCAddress(fp_))); reinterpret_cast<Address*>(StandardFrame::ComputePCAddress(fp_)));
type = StackFrame::ComputeType(isolate(), &state); type = StackFrame::ComputeType(isolate(), &state);
} }
if (SingletonFor(type) == NULL) return;
frame_ = SingletonFor(type, &state); frame_ = SingletonFor(type, &state);
} }
......
...@@ -969,9 +969,11 @@ typedef JavaScriptFrameIteratorTemp<SafeStackFrameIterator> ...@@ -969,9 +969,11 @@ typedef JavaScriptFrameIteratorTemp<SafeStackFrameIterator>
class SafeStackTraceFrameIterator: public SafeJavaScriptFrameIterator { class SafeStackTraceFrameIterator: public SafeJavaScriptFrameIterator {
public: public:
explicit SafeStackTraceFrameIterator(Isolate* isolate, SafeStackTraceFrameIterator(Isolate* isolate,
Address fp, Address sp, Address fp,
Address low_bound, Address high_bound); Address sp,
Address low_bound,
Address high_bound);
void Advance(); void Advance();
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment