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

Unified Diff: runtime/vm/ast.h

Issue 8329005: Replace calls to Class::IsParameterized() by either (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/code_generator.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast.h
===================================================================
--- runtime/vm/ast.h (revision 502)
+++ runtime/vm/ast.h (working copy)
@@ -1667,8 +1667,7 @@
ASSERT(type_arguments_.IsZoneHandle());
ASSERT(constructor_.IsZoneHandle());
ASSERT(arguments_ != NULL);
- ASSERT(!Class::Handle(constructor_.owner()).IsParameterized() ||
- type_arguments_.IsNull() ||
+ ASSERT(type_arguments_.IsNull() ||
siva 2011/10/18 05:06:19 Should the dropped assert be replaced by ASSERT((c
regis 2011/10/18 17:28:21 Actually, I realized that we should not be passing
(type_arguments_.Length() ==
Class::Handle(constructor_.owner()).NumTypeArguments()));
}
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/code_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698