Index: src/frames-inl.h |
diff --git a/src/frames-inl.h b/src/frames-inl.h |
index c45f015a231318300cbc4a9f44421f48f251b59c..a477c70f270bee232b4cf01ebd78257a8ac89417 100644 |
--- a/src/frames-inl.h |
+++ b/src/frames-inl.h |
@@ -98,6 +98,12 @@ inline ExitFrame::ExitFrame(StackFrameIteratorBase* iterator) |
: StackFrame(iterator) { |
} |
+inline BuiltinExitFrame::BuiltinExitFrame(StackFrameIteratorBase* iterator) |
+ : ExitFrame(iterator) {} |
+ |
+inline Object* BuiltinExitFrame::function_slot_object() const { |
+ return Memory::Object_at(fp() + BuiltinExitFrameConstants::kTargetOffset); |
+} |
inline StandardFrame::StandardFrame(StackFrameIteratorBase* iterator) |
: StackFrame(iterator) { |
@@ -306,7 +312,8 @@ WasmFrame* StackTraceFrameIterator::wasm_frame() const { |
inline StackFrame* SafeStackFrameIterator::frame() const { |
DCHECK(!done()); |
- DCHECK(frame_->is_java_script() || frame_->is_exit()); |
+ DCHECK(frame_->is_java_script() || frame_->is_exit() || |
+ frame_->is_builtin_exit()); |
return frame_; |
} |