From: mikhail.naganov@gmail.com Date: Thu, 16 Sep 2010 08:51:13 +0000 (+0000) Subject: Really fix Mac build, and lint. X-Git-Tag: upstream/4.7.83~21198 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2133ee3feee2ede7e6092e18e6e55d9ec683f33d;p=platform%2Fupstream%2Fv8.git Really fix Mac build, and lint. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5469 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- 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); };