OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 4382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4393 inline int size() const; | 4393 inline int size() const; |
4394 inline void set_size(int value); | 4394 inline void set_size(int value); |
4395 | 4395 |
4396 inline int nobarrier_size() const; | 4396 inline int nobarrier_size() const; |
4397 inline void nobarrier_set_size(int value); | 4397 inline void nobarrier_set_size(int value); |
4398 | 4398 |
4399 inline int Size(); | 4399 inline int Size(); |
4400 | 4400 |
4401 // Accessors for the next field. | 4401 // Accessors for the next field. |
4402 inline FreeSpace* next(); | 4402 inline FreeSpace* next(); |
4403 inline FreeSpace** next_address(); | |
4404 inline void set_next(FreeSpace* next); | 4403 inline void set_next(FreeSpace* next); |
4405 | 4404 |
4406 inline static FreeSpace* cast(HeapObject* obj); | 4405 inline static FreeSpace* cast(HeapObject* obj); |
4407 | 4406 |
4408 // Dispatched behavior. | 4407 // Dispatched behavior. |
4409 DECLARE_PRINTER(FreeSpace) | 4408 DECLARE_PRINTER(FreeSpace) |
4410 DECLARE_VERIFIER(FreeSpace) | 4409 DECLARE_VERIFIER(FreeSpace) |
4411 | 4410 |
4412 // Layout description. | 4411 // Layout description. |
4413 // Size is smi tagged when it is stored. | 4412 // Size is smi tagged when it is stored. |
(...skipping 6372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10786 // (elements + properties) in the current level. | 10785 // (elements + properties) in the current level. |
10787 int levelLength_; | 10786 int levelLength_; |
10788 | 10787 |
10789 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); | 10788 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); |
10790 }; | 10789 }; |
10791 | 10790 |
10792 } // NOLINT, false-positive due to second-order macros. | 10791 } // NOLINT, false-positive due to second-order macros. |
10793 } // NOLINT, false-positive due to second-order macros. | 10792 } // NOLINT, false-positive due to second-order macros. |
10794 | 10793 |
10795 #endif // V8_OBJECTS_H_ | 10794 #endif // V8_OBJECTS_H_ |
OLD | NEW |