Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index 12770231cf2f293800c0c777a25ebd9144de9c5d..69e4ba52ffc18ddf319d0208680e13a26221cded 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -447,6 +447,7 @@ class StackFrame BASE_EMBEDDED { |
return (type == JAVA_SCRIPT) || (type == OPTIMIZED) || |
(type == INTERPRETED) || (type == BUILTIN); |
} |
+ bool is_stub() const { return type() == STUB; } |
// Accessors. |
Address sp() const { return state_.sp; } |
@@ -909,6 +910,14 @@ class StubFrame : public StandardFrame { |
// Determine the code for the frame. |
Code* unchecked_code() const override; |
+ int LookupExceptionHandlerInTable(int* data, |
+ HandlerTable::CatchPrediction* prediction); |
+ |
+ static StubFrame* cast(StackFrame* frame) { |
+ DCHECK(frame->is_stub()); |
+ return static_cast<StubFrame*>(frame); |
+ } |
+ |
protected: |
inline explicit StubFrame(StackFrameIteratorBase* iterator); |