Index: src/frames-inl.h |
diff --git a/src/frames-inl.h b/src/frames-inl.h |
index bd652da5c4afe2d2ca467c641cc33b8b50fbbfb9..8d10645d1d06f9e5a3441eba8b65fbe3043cef86 100644 |
--- a/src/frames-inl.h |
+++ b/src/frames-inl.h |
@@ -136,6 +136,17 @@ inline Code* StackFrame::GetContainingCode(Isolate* isolate, Address pc) { |
} |
+inline Address* StackFrame::ResolveReturnAddressLocation(Address* pc_address) { |
+ if (return_address_location_resolver_ == NULL) { |
+ return pc_address; |
+ } else { |
+ return reinterpret_cast<Address*>( |
+ return_address_location_resolver_( |
+ reinterpret_cast<uintptr_t>(pc_address))); |
+ } |
+} |
+ |
+ |
inline EntryFrame::EntryFrame(StackFrameIteratorBase* iterator) |
: StackFrame(iterator) { |
} |