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

Unified Diff: runtime/vm/class_finalizer.h

Issue 10964058: Support redirecting factory constructors in the VM (issue 3969). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/class_finalizer.cc » ('j') | tests/language/factory_redirection_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_finalizer.h
===================================================================
--- runtime/vm/class_finalizer.h (revision 12790)
+++ runtime/vm/class_finalizer.h (working copy)
@@ -80,6 +80,10 @@
const UnresolvedClass& unresolved_class);
static void ResolveSuperType(const Class& cls);
static void ResolveFactoryClass(const Class& cls);
+ static void ResolveRedirectingFactoryTarget(
+ const Class& cls,
+ const Function& factory,
+ const GrowableObjectArray& visited_factories);
static void ResolveInterfaces(const Class& cls,
GrowableArray<intptr_t>* visited);
static void FinalizeTypeParameters(const Class& cls);
« no previous file with comments | « no previous file | runtime/vm/class_finalizer.cc » ('j') | tests/language/factory_redirection_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698