Chromium Code Reviews| Index: runtime/vm/raw_object.h |
| =================================================================== |
| --- runtime/vm/raw_object.h (revision 2282) |
| +++ runtime/vm/raw_object.h (working copy) |
| @@ -275,6 +275,13 @@ |
| class RawAbstractType : public RawObject { |
| + protected: |
| + enum TypeState { |
| + kAllocated, // Initial state. |
| + kBeingFinalized, // In the process of being finalized. |
| + kFinalized, // Type ready for use. |
| + }; |
| + |
|
srdjan
2011/12/08 22:30:29
private:
regis
2011/12/08 22:50:20
Done.
|
| RAW_HEAP_OBJECT_IMPLEMENTATION(AbstractType); |
| friend class ObjectStore; |
| @@ -282,13 +289,6 @@ |
| class RawType : public RawAbstractType { |
|
srdjan
2011/12/08 22:30:29
add "private:" (explictly)
regis
2011/12/08 22:50:20
Done.
|
| - private: |
| - enum TypeState { |
| - kAllocated, // Initial state. |
| - kBeingFinalized, // In the process of being finalized. |
| - kFinalized, // Type ready for use. |
| - }; |
| - |
| RAW_HEAP_OBJECT_IMPLEMENTATION(Type); |
| RawObject** from() { |
| @@ -309,6 +309,7 @@ |
| RawString* name_; |
| RawObject** to() { return reinterpret_cast<RawObject**>(&ptr()->name_); } |
| intptr_t index_; |
| + int8_t type_state_; |
| }; |