Index: src/frames-inl.h |
diff --git a/src/frames-inl.h b/src/frames-inl.h |
index 014c3444a35a549cdda6d2a7ee826e25d5909770..650d6f9725f4ab30df736034093d6b426bbc2fb9 100644 |
--- a/src/frames-inl.h |
+++ b/src/frames-inl.h |
@@ -44,41 +44,11 @@ inline StackHandler* StackHandler::next() const { |
} |
-inline bool StackHandler::includes(Address address) const { |
- Address start = this->address(); |
- Address end = start + StackHandlerConstants::kSize; |
- return start <= address && address <= end; |
-} |
- |
- |
-inline void StackHandler::Iterate(ObjectVisitor* v, Code* holder) const { |
- v->VisitPointer(context_address()); |
-} |
- |
- |
inline StackHandler* StackHandler::FromAddress(Address address) { |
return reinterpret_cast<StackHandler*>(address); |
} |
-inline Context* StackHandler::context() const { |
- const int offset = StackHandlerConstants::kContextOffset; |
- return Context::cast(Memory::Object_at(address() + offset)); |
-} |
- |
- |
-inline int StackHandler::index() const { |
- const int offset = StackHandlerConstants::kStateIntOffset; |
- return Memory::int_at(address() + offset); |
-} |
- |
- |
-inline Object** StackHandler::context_address() const { |
- const int offset = StackHandlerConstants::kContextOffset; |
- return reinterpret_cast<Object**>(address() + offset); |
-} |
- |
- |
inline StackFrame::StackFrame(StackFrameIteratorBase* iterator) |
: iterator_(iterator), isolate_(iterator_->isolate()) { |
} |