| Index: runtime/vm/isolate_reload.h
|
| diff --git a/runtime/vm/isolate_reload.h b/runtime/vm/isolate_reload.h
|
| index e8fbd3ae3810d3f3e4b7e6640dd948c426c3e4f0..e4e7a6c9eb8ef645d88d5492f9909c2dde656299 100644
|
| --- a/runtime/vm/isolate_reload.h
|
| +++ b/runtime/vm/isolate_reload.h
|
| @@ -58,6 +58,8 @@ class InstanceMorpher : public ZoneAllocated {
|
| // Called on each instance that needs to be morphed.
|
| RawInstance* Morph(const Instance& instance) const;
|
|
|
| + void RunNewFieldInitializers() const;
|
| +
|
| // Adds an object to be morphed.
|
| void AddObject(RawObject* object) const;
|
|
|
| @@ -74,6 +76,8 @@ class InstanceMorpher : public ZoneAllocated {
|
| ZoneGrowableArray<const Instance*>* before() const { return before_; }
|
| // Returns the list of morphed objects (matches order in before()).
|
| ZoneGrowableArray<const Instance*>* after() const { return after_; }
|
| + // Returns the list of new fields.
|
| + ZoneGrowableArray<const Field*>* new_fields() const { return new_fields_; }
|
|
|
| // Returns the cid associated with the from_ and to_ class.
|
| intptr_t cid() const { return cid_; }
|
| @@ -84,6 +88,7 @@ class InstanceMorpher : public ZoneAllocated {
|
| ZoneGrowableArray<intptr_t> mapping_;
|
| ZoneGrowableArray<const Instance*>* before_;
|
| ZoneGrowableArray<const Instance*>* after_;
|
| + ZoneGrowableArray<const Field*>* new_fields_;
|
| intptr_t cid_;
|
|
|
| void ComputeMapping();
|
|
|