| Index: src/objects.h
|
| ===================================================================
|
| --- src/objects.h (revision 4954)
|
| +++ src/objects.h (working copy)
|
| @@ -4593,11 +4593,8 @@
|
| // iterating or updating after gc.
|
| class Relocatable BASE_EMBEDDED {
|
| public:
|
| - inline Relocatable() : prev_(top_) { top_ = this; }
|
| - virtual ~Relocatable() {
|
| - ASSERT_EQ(top_, this);
|
| - top_ = prev_;
|
| - }
|
| + inline Relocatable();
|
| + inline virtual ~Relocatable();
|
| virtual void IterateInstance(ObjectVisitor* v) { }
|
| virtual void PostGarbageCollection() { }
|
|
|
| @@ -4609,7 +4606,6 @@
|
| static void Iterate(ObjectVisitor* v, Relocatable* top);
|
| static char* Iterate(ObjectVisitor* v, char* t);
|
| private:
|
| - static Relocatable* top_;
|
| Relocatable* prev_;
|
| };
|
|
|
|
|