From 2133ee3feee2ede7e6092e18e6e55d9ec683f33d Mon Sep 17 00:00:00 2001 From: "mikhail.naganov@gmail.com" Date: Thu, 16 Sep 2010 08:51:13 +0000 Subject: [PATCH] Really fix Mac build, and lint. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5469 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/frames.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/frames.h b/src/frames.h index f82cb99..7a09bb4 100644 --- a/src/frames.h +++ b/src/frames.h @@ -141,6 +141,13 @@ class StackFrame BASE_EMBEDDED { NO_ID = 0 }; + struct State { + State() : sp(NULL), fp(NULL), pc_address(NULL) { } + Address sp; + Address fp; + Address* pc_address; + }; + // Copy constructor; it breaks the connection to host iterator. StackFrame(const StackFrame& original) { this->state_ = original.state_; @@ -201,13 +208,6 @@ class StackFrame BASE_EMBEDDED { int index) const { } protected: - struct State { - State() : sp(NULL), fp(NULL), pc_address(NULL) { } - Address sp; - Address fp; - Address* pc_address; - }; - explicit StackFrame(StackFrameIterator* iterator) : iterator_(iterator) { } virtual ~StackFrame() { } @@ -238,8 +238,7 @@ class StackFrame BASE_EMBEDDED { friend class StackFrameIterator; friend class StackHandlerIterator; friend class SafeStackFrameIterator; - friend class ExitFrameValidator; - + private: void operator=(const StackFrame& original); }; -- 2.7.4