| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 62844ac892779b7ad81664024b61fa86d0e9c57b..f944221720f8d99861882bafc8885bdfb2fab084 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -8169,6 +8169,11 @@ bool Field::IsConsistentWith(const Field& other) const {
|
| }
|
|
|
|
|
| +bool Field::IsFinalAndInitialized() const {
|
| + return is_final() && (guarded_cid() != kIllegalCid);
|
| +}
|
| +
|
| +
|
| bool Field::IsUninitialized() const {
|
| const Instance& value = Instance::Handle(raw_ptr()->value_.static_value_);
|
| ASSERT(value.raw() != Object::transition_sentinel().raw());
|
|
|