Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 8d3ef5ed66909c3decd135ee913e2f07ba3a321c..16dc598dcf635dda3fa89c10c4abc43203bac128 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -1366,9 +1366,7 @@ class Class : public Object { |
RawArray* cha_codes() const { return raw_ptr()->cha_codes_; } |
void set_cha_codes(const Array& value) const; |
- bool trace_allocation() const { |
- return TraceAllocationBit::decode(raw_ptr()->state_bits_); |
- } |
+ bool TraceAllocation(Isolate* isolate) const; |
void SetTraceAllocation(bool trace_allocation) const; |
private: |
@@ -1394,7 +1392,6 @@ class Class : public Object { |
kFieldsMarkedNullableBit = 11, |
kCycleFreeBit = 12, |
kEnumBit = 13, |
- kTraceAllocationBit = 14, |
kIsAllocatedBit = 15, |
}; |
class ConstBit : public BitField<bool, kConstBit, 1> {}; |
@@ -1412,7 +1409,6 @@ class Class : public Object { |
kFieldsMarkedNullableBit, 1> {}; // NOLINT |
class CycleFreeBit : public BitField<bool, kCycleFreeBit, 1> {}; |
class EnumBit : public BitField<bool, kEnumBit, 1> {}; |
- class TraceAllocationBit : public BitField<bool, kTraceAllocationBit, 1> {}; |
class IsAllocatedBit : public BitField<bool, kIsAllocatedBit, 1> {}; |
void set_name(const String& value) const; |