Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: vm/object.h

Issue 12218082: - Remove redundant type parameters for internal data. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: vm/object.h
===================================================================
--- vm/object.h (revision 18158)
+++ vm/object.h (working copy)
@@ -4668,9 +4668,6 @@
RawObject* RemoveLast() const;
virtual RawAbstractTypeArguments* GetTypeArguments() const {
siva 2013/02/08 23:13:34 Should we assert here that Array::Handle(data()).G
Ivan Posva 2013/02/08 23:27:32 Actually we don't and shouldn't care about the typ
siva 2013/02/08 23:32:28 I disagree, if the data is irrelevant then that fi
- ASSERT(AbstractTypeArguments::AreEqual(
- AbstractTypeArguments::Handle(Array::Handle(data()).GetTypeArguments()),
- AbstractTypeArguments::Handle(raw_ptr()->type_arguments_)));
return raw_ptr()->type_arguments_;
}
virtual void SetTypeArguments(const AbstractTypeArguments& value) const {

Powered by Google App Engine
This is Rietveld 408576698