| Index: runtime/vm/compiler.h
|
| ===================================================================
|
| --- runtime/vm/compiler.h (revision 7349)
|
| +++ runtime/vm/compiler.h (working copy)
|
| @@ -15,6 +15,7 @@
|
| class Class;
|
| class Function;
|
| class Library;
|
| +class ParsedFunction;
|
| class RawInstance;
|
| class Script;
|
| class SequenceNode;
|
| @@ -39,6 +40,12 @@
|
| // Returns Error::null() if there is no compilation error.
|
| static RawError* CompileOptimizedFunction(const Function& function);
|
|
|
| + // Generates code for given parsed function (without parsing it again) and
|
| + // sets its code field.
|
| + //
|
| + // Returns Error::null() if there is no compilation error.
|
| + static RawError* CompileParsedFunction(const ParsedFunction& parsed_function);
|
| +
|
| // Generates and executes code for a given code fragment, e.g. a
|
| // compile time constant expression. Returns the result returned
|
| // by the fragment.
|
|
|