| Index: runtime/vm/object_id_ring.h
|
| diff --git a/runtime/vm/object_id_ring.h b/runtime/vm/object_id_ring.h
|
| index 7b0fcde7704ccca7da2ce552fb86b8fb32d2c442..4936316ad68df4c792601dae4b1e84f9b0a9338d 100644
|
| --- a/runtime/vm/object_id_ring.h
|
| +++ b/runtime/vm/object_id_ring.h
|
| @@ -28,9 +28,9 @@ class ObjectIdRing {
|
| };
|
|
|
| enum IdPolicy {
|
| - kAllocateId, // Always allocate a new object id.
|
| - kReuseId, // If the object is already in the ring, reuse id.
|
| - // Otherwise allocate a new object id.
|
| + kAllocateId, // Always allocate a new object id.
|
| + kReuseId, // If the object is already in the ring, reuse id.
|
| + // Otherwise allocate a new object id.
|
| kNumIdPolicy,
|
| };
|
|
|
| @@ -67,12 +67,8 @@ class ObjectIdRing {
|
| int32_t serial_num_;
|
| bool wrapped_;
|
|
|
| - RawObject** table() {
|
| - return table_;
|
| - }
|
| - int32_t table_size() {
|
| - return capacity_;
|
| - }
|
| + RawObject** table() { return table_; }
|
| + int32_t table_size() { return capacity_; }
|
|
|
| int32_t NextSerial();
|
| int32_t AllocateNewId(RawObject* object);
|
|
|