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

Unified Diff: runtime/lib/object.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/object.cc
===================================================================
--- runtime/lib/object.cc (revision 32446)
+++ runtime/lib/object.cc (working copy)
@@ -114,8 +114,8 @@
// Instantiator at position 1 is not used. It is passed along so that the call
// can be easily converted to an optimized implementation. Instantiator is
// used to populate the subtype cache.
- const AbstractTypeArguments& instantiator_type_arguments =
- AbstractTypeArguments::CheckedHandle(arguments->NativeArgAt(2));
+ const TypeArguments& instantiator_type_arguments =
+ TypeArguments::CheckedHandle(arguments->NativeArgAt(2));
const AbstractType& type =
AbstractType::CheckedHandle(arguments->NativeArgAt(3));
const Bool& negate = Bool::CheckedHandle(arguments->NativeArgAt(4));
@@ -159,8 +159,8 @@
// Instantiator at position 1 is not used. It is passed along so that the call
// can be easily converted to an optimized implementation. Instantiator is
// used to populate the subtype cache.
- const AbstractTypeArguments& instantiator_type_arguments =
- AbstractTypeArguments::CheckedHandle(arguments->NativeArgAt(2));
+ const TypeArguments& instantiator_type_arguments =
+ TypeArguments::CheckedHandle(arguments->NativeArgAt(2));
const AbstractType& type =
AbstractType::CheckedHandle(arguments->NativeArgAt(3));
ASSERT(type.IsFinalized());
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/lib/regexp.cc » ('j') | runtime/vm/code_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698