| Index: runtime/vm/precompiler.h
|
| diff --git a/runtime/vm/precompiler.h b/runtime/vm/precompiler.h
|
| index f01679ac9f06b6eb46e4877ab50088bd5262b592..c32a955269d43287faa9958dac99e0cd8b9e3404 100644
|
| --- a/runtime/vm/precompiler.h
|
| +++ b/runtime/vm/precompiler.h
|
| @@ -18,6 +18,7 @@ class Field;
|
| class Function;
|
| class GrowableObjectArray;
|
| class RawError;
|
| +class SequenceNode;
|
| class String;
|
|
|
| class SymbolKeyValueTrait {
|
| @@ -181,9 +182,17 @@ class Precompiler : public ValueObject {
|
| const String& fname,
|
| Object* function);
|
|
|
| + static RawError* CompileFunction(Thread* thread, const Function& function);
|
| +
|
| + static RawObject* EvaluateStaticInitializer(const Field& field);
|
| + static RawObject* ExecuteOnce(SequenceNode* fragment);
|
| +
|
| private:
|
| Precompiler(Thread* thread, bool reset_fields);
|
|
|
| +
|
| + static RawFunction* CompileStaticInitializer(const Field& field);
|
| +
|
| void DoCompileAll(Dart_QualifiedFunctionName embedder_entry_points[]);
|
| void ClearAllCode();
|
| void AddRoots(Dart_QualifiedFunctionName embedder_entry_points[]);
|
|
|