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

Unified Diff: runtime/lib/growable_array.cc

Issue 154393003: Implement eager instantiation and canonicalization of type arguments at run (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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: runtime/lib/growable_array.cc
===================================================================
--- runtime/lib/growable_array.cc (revision 32446)
+++ runtime/lib/growable_array.cc (working copy)
@@ -13,8 +13,8 @@
namespace dart {
DEFINE_NATIVE_ENTRY(GrowableList_allocate, 2) {
- const AbstractTypeArguments& type_arguments =
- AbstractTypeArguments::CheckedHandle(arguments->NativeArgAt(0));
+ const TypeArguments& type_arguments =
+ TypeArguments::CheckedHandle(arguments->NativeArgAt(0));
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/double.cc ('k') | runtime/lib/isolate.cc » ('j') | runtime/vm/code_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698