Really fix Mac build, and lint.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5469 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 64d07348
...@@ -141,6 +141,13 @@ class StackFrame BASE_EMBEDDED { ...@@ -141,6 +141,13 @@ class StackFrame BASE_EMBEDDED {
NO_ID = 0 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. // Copy constructor; it breaks the connection to host iterator.
StackFrame(const StackFrame& original) { StackFrame(const StackFrame& original) {
this->state_ = original.state_; this->state_ = original.state_;
...@@ -201,13 +208,6 @@ class StackFrame BASE_EMBEDDED { ...@@ -201,13 +208,6 @@ class StackFrame BASE_EMBEDDED {
int index) const { } int index) const { }
protected: protected:
struct State {
State() : sp(NULL), fp(NULL), pc_address(NULL) { }
Address sp;
Address fp;
Address* pc_address;
};
explicit StackFrame(StackFrameIterator* iterator) : iterator_(iterator) { } explicit StackFrame(StackFrameIterator* iterator) : iterator_(iterator) { }
virtual ~StackFrame() { } virtual ~StackFrame() { }
...@@ -238,7 +238,6 @@ class StackFrame BASE_EMBEDDED { ...@@ -238,7 +238,6 @@ class StackFrame BASE_EMBEDDED {
friend class StackFrameIterator; friend class StackFrameIterator;
friend class StackHandlerIterator; friend class StackHandlerIterator;
friend class SafeStackFrameIterator; friend class SafeStackFrameIterator;
friend class ExitFrameValidator;
private: private:
void operator=(const StackFrame& original); void operator=(const StackFrame& original);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment