Chromium Code Reviews| Index: src/objects.h |
| =================================================================== |
| --- src/objects.h (revision 572) |
| +++ src/objects.h (working copy) |
| @@ -1601,7 +1601,6 @@ |
| inline void Get(int descriptor_number, Descriptor* desc); |
| inline void Set(int descriptor_number, Descriptor* desc); |
| - |
| // Copy the descriptor array, insert a new descriptor and optionally |
| // remove map transitions. If the descriptor is already present, it is |
| // replaced. If a replaced descriptor is a real property (not a transition |
| @@ -2460,7 +2459,7 @@ |
| // The byte at position 3 is not in use at the moment. |
| // Bit positions for bit field. |
| - static const int kUnused = 0; // To be used for marking recently used maps. |
| + static const int kUnusedXX = 0; // To be used for marking recently used maps. |
|
Kasper Lund
2008/10/23 14:51:33
Did you mean to change this?
|
| static const int kHasNonInstancePrototype = 1; |
| static const int kIsHiddenPrototype = 2; |
| static const int kHasNamedInterceptor = 3; |
| @@ -2750,7 +2749,7 @@ |
| #endif |
| // Returns the number of allocated literals. |
| - int NumberOfLiterals(); |
| + inline int NumberOfLiterals(); |
| // Retrieve the global context from a function's literal array. |
| static Context* GlobalContextFromLiterals(FixedArray* literals); |
| @@ -3347,11 +3346,13 @@ |
| public: |
| // First object of the cons cell. |
| inline Object* first(); |
| - inline void set_first(Object* first); |
| + inline void set_first(Object* first, |
| + WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
| // Second object of the cons cell. |
| inline Object* second(); |
| - inline void set_second(Object* second); |
| + inline void set_second(Object* second, |
| + WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
| // Dispatched behavior. |
| uint16_t ConsStringGet(int index); |