| Index: runtime/vm/raw_object.h
|
| diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
|
| index 23676b493e6c5fb4c9f5a5dac445314440ac5019..eb2f88dc1e26ae3082fc30d80f4dc87999870d21 100644
|
| --- a/runtime/vm/raw_object.h
|
| +++ b/runtime/vm/raw_object.h
|
| @@ -183,10 +183,8 @@ class RawObject {
|
| kMarkBit = 1,
|
| kCanonicalBit = 2,
|
| kFromSnapshotBit = 3,
|
| - kReservedBit10K = 4,
|
| - kReservedBit100K = 5,
|
| - kReservedBit1M = 6,
|
| - kReservedBit10M = 7,
|
| + kReservedTagBit = 4, // kReservedBit{10K,100K,1M,10M}
|
| + kReservedTagSize = 4,
|
| kSizeTagBit = 8,
|
| kSizeTagSize = 8,
|
| kClassIdTagBit = kSizeTagBit + kSizeTagSize,
|
| @@ -330,6 +328,10 @@ class RawObject {
|
|
|
| class CreatedFromSnapshotTag : public BitField<bool, kFromSnapshotBit, 1> {};
|
|
|
| + class ReservedBits : public BitField<intptr_t,
|
| + kReservedTagBit,
|
| + kReservedTagSize> {}; // NOLINT
|
| +
|
| RawObject* ptr() const {
|
| ASSERT(IsHeapObject());
|
| return reinterpret_cast<RawObject*>(
|
|
|