| Index: runtime/vm/object.h
|
| ===================================================================
|
| --- runtime/vm/object.h (revision 7246)
|
| +++ runtime/vm/object.h (working copy)
|
| @@ -3561,8 +3561,10 @@
|
| RawObject* RemoveLast() const;
|
|
|
| virtual RawAbstractTypeArguments* GetTypeArguments() const {
|
| - const Array& contents = Array::Handle(data());
|
| - return contents.GetTypeArguments();
|
| + // TODO(regis): Enable asserts once allocation of array literal fixed.
|
| + // ASSERT(Array::Handle(data()).GetTypeArguments() ==
|
| + // raw_ptr()->type_arguments_);
|
| + return raw_ptr()->type_arguments_;
|
| }
|
| virtual void SetTypeArguments(const AbstractTypeArguments& value) const {
|
| const Array& contents = Array::Handle(data());
|
|
|