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

Unified Diff: runtime/lib/growable_array.cc

Issue 14307007: Fix crashes in debug mode with optimizations turned off. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 | « runtime/lib/array.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/growable_array.cc
===================================================================
--- runtime/lib/growable_array.cc (revision 22075)
+++ runtime/lib/growable_array.cc (working copy)
@@ -15,8 +15,6 @@
DEFINE_NATIVE_ENTRY(GrowableObjectArray_allocate, 2) {
const AbstractTypeArguments& type_arguments =
AbstractTypeArguments::CheckedHandle(arguments->NativeArgAt(0));
- ASSERT(type_arguments.IsNull() ||
- (type_arguments.IsInstantiated() && (type_arguments.Length() == 1)));
GET_NON_NULL_NATIVE_ARGUMENT(Array, data, arguments->NativeArgAt(1));
if ((data.Length() <= 0)) {
const Integer& index = Integer::Handle(Integer::New(data.Length()));
« no previous file with comments | « runtime/lib/array.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698