| Index: runtime/vm/object.h
|
| ===================================================================
|
| --- runtime/vm/object.h (revision 44305)
|
| +++ runtime/vm/object.h (working copy)
|
| @@ -1596,7 +1596,9 @@
|
| // Clone this type argument vector and clone all uninstantiated type
|
| // arguments, changing the class owner of type parameters.
|
| // Instantiated type arguments are shared.
|
| - RawTypeArguments* CloneUninstantiated(const Class& new_owner) const;
|
| + RawTypeArguments* CloneUninstantiated(
|
| + const Class& new_owner,
|
| + GrowableObjectArray* trail = NULL) const;
|
|
|
| // Canonicalize only if instantiated, otherwise returns 'this'.
|
| RawTypeArguments* Canonicalize(GrowableObjectArray* trail = NULL) const;
|
| @@ -4891,7 +4893,9 @@
|
| // but belonging to the new owner class.
|
| // Apply recursively to type arguments, i.e. instantiated type arguments of
|
| // an uninstantiated type are not cloned, but shared.
|
| - virtual RawAbstractType* CloneUninstantiated(const Class& new_owner) const;
|
| + virtual RawAbstractType* CloneUninstantiated(
|
| + const Class& new_owner,
|
| + GrowableObjectArray* trail = NULL) const;
|
|
|
| virtual RawInstance* CheckAndCanonicalize(const char** error_str) const {
|
| return Canonicalize();
|
| @@ -5053,7 +5057,9 @@
|
| Error* malformed_error,
|
| GrowableObjectArray* trail = NULL) const;
|
| virtual RawAbstractType* CloneUnfinalized() const;
|
| - virtual RawAbstractType* CloneUninstantiated(const Class& new_owner) const;
|
| + virtual RawAbstractType* CloneUninstantiated(
|
| + const Class& new_owner,
|
| + GrowableObjectArray* trail = NULL) const;
|
| virtual RawAbstractType* Canonicalize(
|
| GrowableObjectArray* trail = NULL) const;
|
|
|
| @@ -5172,6 +5178,9 @@
|
| const TypeArguments& instantiator_type_arguments,
|
| Error* bound_error,
|
| GrowableObjectArray* trail = NULL) const;
|
| + virtual RawTypeRef* CloneUninstantiated(
|
| + const Class& new_owner,
|
| + GrowableObjectArray* trail = NULL) const;
|
| virtual RawAbstractType* Canonicalize(
|
| GrowableObjectArray* trail = NULL) const;
|
|
|
| @@ -5253,7 +5262,9 @@
|
| Error* bound_error,
|
| GrowableObjectArray* trail = NULL) const;
|
| virtual RawAbstractType* CloneUnfinalized() const;
|
| - virtual RawAbstractType* CloneUninstantiated(const Class& new_owner) const;
|
| + virtual RawAbstractType* CloneUninstantiated(
|
| + const Class& new_owner,
|
| + GrowableObjectArray* trail = NULL) const;
|
| virtual RawAbstractType* Canonicalize(
|
| GrowableObjectArray* trail = NULL) const {
|
| return raw();
|
| @@ -5338,7 +5349,9 @@
|
| Error* bound_error,
|
| GrowableObjectArray* trail = NULL) const;
|
| virtual RawAbstractType* CloneUnfinalized() const;
|
| - virtual RawAbstractType* CloneUninstantiated(const Class& new_owner) const;
|
| + virtual RawAbstractType* CloneUninstantiated(
|
| + const Class& new_owner,
|
| + GrowableObjectArray* trail = NULL) const;
|
| virtual RawAbstractType* Canonicalize(
|
| GrowableObjectArray* trail = NULL) const {
|
| return raw();
|
|
|