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

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
Index: runtime/vm/compiler.h
===================================================================
--- runtime/vm/compiler.h (revision 22914)
+++ runtime/vm/compiler.h (working copy)
@@ -24,12 +24,19 @@
class Compiler : public AllStatic {
public:
- // Extracts class, interface, function symbols from the script and populates
+ // Extracts class, interface symbols from the script and populates
hausner 2013/05/21 20:07:30 Maybe remove the word interface while you are touc
siva 2013/05/23 00:54:31 Done.
// the symbol tables and 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 symbol tables and the class dictionary of the library.
+ //
+ // Returns Error::null() if there is no compilation error.
+ static RawError* ParseClass(const Class& cls);
hausner 2013/05/21 20:07:30 We have Compile, CompileFunction, and ParseClass.
siva 2013/05/23 00:54:31 Done.
+
+
// Generates code for given function and sets its code field.
//
// Returns Error::null() if there is no compilation error.

Powered by Google App Engine
This is Rietveld 408576698