Chromium Code Reviews| Index: runtime/vm/compiler.h |
| =================================================================== |
| --- runtime/vm/compiler.h (revision 23046) |
| +++ 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 symbols from the script and populates |
| // 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. |
|
Ivan Posva
2013/05/23 05:10:37
This comment is somewhat confusing. Wasn't the cla
siva
2013/05/23 20:19:46
Changed as discussed offline.
On 2013/05/23 05:10
|
| + // |
| + // 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. |