| Index: runtime/vm/precompiler.h
|
| diff --git a/runtime/vm/precompiler.h b/runtime/vm/precompiler.h
|
| index da267c0c92570a6e1134a66e1564eb044b32416c..2999679410dfa8259896da585e99153d23cf8939 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 {
|
| @@ -158,9 +159,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[]);
|
|
|