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

Unified Diff: runtime/vm/class_finalizer.h

Issue 14820028: Delay Class parsing until the class is actually used. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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') | runtime/vm/compiler.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_finalizer.h
===================================================================
--- runtime/vm/class_finalizer.h (revision 22914)
+++ runtime/vm/class_finalizer.h (working copy)
@@ -83,13 +83,15 @@
// in the object store.
static bool FinalizePendingClasses();
+ static void FinalizeTypesInClass(const Class& cls);
+ static void FinalizeClass(const Class& cls);
+
// Verify that the classes have been properly prefinalized. This is
// needed during bootstrapping where the classes have been preloaded.
static void VerifyBootstrapClasses();
private:
- static void FinalizeClass(const Class& cls);
static bool IsSuperCycleFree(const Class& cls);
static bool IsAliasCycleFree(const Class& cls,
GrowableArray<intptr_t>* visited);
@@ -101,6 +103,7 @@
const Function& factory,
const GrowableObjectArray& visited_factories);
static void CloneTypeParameters(const Class& mixapp_class);
+ static void ApplyMixinTypes(const Class& cls);
static void ApplyMixin(const Class& cls);
static void CollectTypeArguments(const Class& cls,
const Type& type,
« no previous file with comments | « no previous file | runtime/vm/class_finalizer.cc » ('j') | runtime/vm/compiler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698