Index: src/frames-inl.h |
=================================================================== |
--- src/frames-inl.h (revision 5368) |
+++ src/frames-inl.h (working copy) |
@@ -64,9 +64,8 @@ |
} |
-inline void StackHandler::Iterate(ObjectVisitor* v) const { |
- // Stack handlers do not contain any pointers that need to be |
- // traversed. |
+inline void StackHandler::Iterate(ObjectVisitor* v, Code* holder) const { |
+ StackFrame::IteratePc(v, pc_address(), holder); |
} |
@@ -81,18 +80,12 @@ |
} |
-inline Address StackHandler::pc() const { |
+inline Address* StackHandler::pc_address() const { |
const int offset = StackHandlerConstants::kPCOffset; |
- return Memory::Address_at(address() + offset); |
+ return reinterpret_cast<Address*>(address() + offset); |
} |
-inline void StackHandler::set_pc(Address value) { |
- const int offset = StackHandlerConstants::kPCOffset; |
- Memory::Address_at(address() + offset) = value; |
-} |
- |
- |
inline StackHandler* StackFrame::top_handler() const { |
return iterator_->handler(); |
} |