| Index: src/frames-inl.h
|
| diff --git a/src/frames-inl.h b/src/frames-inl.h
|
| index 07a8976f5d64815828d27178e5895ec0e2f72ea1..2973bad6af4de22ae8890faf793ddb763b92812d 100644
|
| --- a/src/frames-inl.h
|
| +++ b/src/frames-inl.h
|
| @@ -336,10 +336,10 @@ inline JavaScriptFrame* JavaScriptFrameIterator::frame() const {
|
| }
|
|
|
|
|
| -inline JavaScriptFrame* SafeStackFrameIterator::frame() const {
|
| +inline StackFrame* SafeStackFrameIterator::frame() const {
|
| ASSERT(!done());
|
| - ASSERT(frame_->is_java_script());
|
| - return static_cast<JavaScriptFrame*>(frame_);
|
| + ASSERT(frame_->is_java_script() || frame_->is_exit());
|
| + return frame_;
|
| }
|
|
|
|
|
|
|