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

Unified Diff: runtime/vm/compiler.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 | « runtime/vm/class_finalizer_test.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.h
===================================================================
--- runtime/vm/compiler.h (revision 23087)
+++ runtime/vm/compiler.h (working copy)
@@ -24,12 +24,18 @@
class Compiler : public AllStatic {
public:
- // Extracts class, interface, function symbols from the script and populates
- // the symbol tables and the class dictionary of the library.
+ // Extracts top level entities from the script and populates
+ // the class dictionary of the library.
//
// Returns Error::null() if there is no compilation error.
static RawError* Compile(const Library& library, const Script& script);
+ // Extracts function and field symbols from the class and populates
+ // the class.
+ //
+ // Returns Error::null() if there is no compilation error.
+ static RawError* CompileClass(const Class& cls);
+
// Generates code for given function and sets its code field.
//
// Returns Error::null() if there is no compilation error.
« no previous file with comments | « runtime/vm/class_finalizer_test.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698