| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 5bfc04119ebbb4238f7cc295d17ecf863aa18303..bf1e7b15a52f9175b53e856b226fba3225644d9a 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -2817,6 +2817,13 @@ class Field : public Object {
|
| bool is_synthetic() const {
|
| return SyntheticBit::decode(raw_ptr()->kind_bits_);
|
| }
|
| + bool is_double_initialized() const {
|
| + return DoubleInitializedBit::decode(raw_ptr()->kind_bits_);
|
| + }
|
| + void set_is_double_initialized(bool value) const {
|
| + set_kind_bits(DoubleInitializedBit::update(value, raw_ptr()->kind_bits_));
|
| + }
|
| +
|
|
|
| inline intptr_t Offset() const;
|
| inline void SetOffset(intptr_t value_in_bytes) const;
|
| @@ -2987,16 +2994,18 @@ class Field : public Object {
|
| kFinalBit,
|
| kHasInitializerBit,
|
| kUnboxingCandidateBit,
|
| - kSyntheticBit
|
| + kSyntheticBit,
|
| + kDoubleInitializedBit,
|
| };
|
| class ConstBit : public BitField<bool, kConstBit, 1> {};
|
| class StaticBit : public BitField<bool, kStaticBit, 1> {};
|
| class FinalBit : public BitField<bool, kFinalBit, 1> {};
|
| class HasInitializerBit : public BitField<bool, kHasInitializerBit, 1> {};
|
| class UnboxingCandidateBit : public BitField<bool,
|
| - kUnboxingCandidateBit, 1> {
|
| - };
|
| + kUnboxingCandidateBit, 1> {};
|
| class SyntheticBit : public BitField<bool, kSyntheticBit, 1> {};
|
| + class DoubleInitializedBit : public BitField<bool,
|
| + kDoubleInitializedBit, 1> {};
|
|
|
| // Update guarded cid and guarded length for this field. Returns true, if
|
| // deoptimization of dependent code is required.
|
|
|