Revision: 3002 Author: [email protected] Date: Wed Sep 30 23:27:29 2009 Log: Fix lint errors.
[email protected] Review URL: http://codereview.chromium.org/249056 http://code.google.com/p/v8/source/detail?r=3002 Modified: /branches/bleeding_edge/src/arguments.h /branches/bleeding_edge/src/objects.h ======================================= --- /branches/bleeding_edge/src/arguments.h Wed Sep 30 05:25:46 2009 +++ /branches/bleeding_edge/src/arguments.h Wed Sep 30 23:27:29 2009 @@ -63,7 +63,7 @@ // Get the total number of arguments including the receiver. int length() const { return length_; } - + Object** arguments() { return arguments_; } private: @@ -76,7 +76,7 @@ // accessed through an Arguments object the same way the actual stack // can. class CustomArguments : public Relocatable { -public: + public: inline CustomArguments(Object *data, JSObject *self, JSObject *holder) { @@ -87,7 +87,7 @@ } void IterateInstance(ObjectVisitor* v); Object** end() { return values_ + 3; } -private: + private: Object* values_[4]; }; ======================================= --- /branches/bleeding_edge/src/objects.h Wed Sep 30 05:25:46 2009 +++ /branches/bleeding_edge/src/objects.h Wed Sep 30 23:27:29 2009 @@ -4223,9 +4223,11 @@ // on gc. It provides two ways for the gc to update instances, either // iterating or updating after gc. class Relocatable BASE_EMBEDDED { -public: + public: inline Relocatable() : prev_(top_) { top_ = this; } - virtual ~Relocatable() { ASSERT_EQ(top_, this); top_ = prev_; } + virtual ~Relocatable() { + ASSERT_EQ(top_, this); + top_ = prev_; } virtual void IterateInstance(ObjectVisitor* v) { } virtual void PostGarbageCollection() { } @@ -4236,7 +4238,7 @@ static void Iterate(ObjectVisitor* v); static void Iterate(ObjectVisitor* v, Relocatable* top); static char* Iterate(ObjectVisitor* v, char* t); -private: + private: static Relocatable* top_; Relocatable* prev_; }; --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
