Chromium Code Reviews| 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. |