| Index: runtime/vm/isolate.h
|
| diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
|
| index 6921919acfa831429c824a8e2cec7c7805687d73..84e5969b5c47b77d7a00d68ed112a14252e03c8a 100644
|
| --- a/runtime/vm/isolate.h
|
| +++ b/runtime/vm/isolate.h
|
| @@ -659,6 +659,12 @@ class Isolate : public BaseIsolate {
|
| compilation_allowed_ = allowed;
|
| }
|
|
|
| + // In precompilation we finalize all regular classes before compiling.
|
| + bool all_classes_finalized() const { return all_classes_finalized_; }
|
| + void set_all_classes_finalized(bool value) {
|
| + all_classes_finalized_ = value;
|
| + }
|
| +
|
| RawObject* InvokePendingServiceExtensionCalls();
|
| void AppendServiceExtensionCall(const Instance& closure,
|
| const String& method_name,
|
| @@ -850,6 +856,7 @@ class Isolate : public BaseIsolate {
|
| Metric* metrics_list_head_;
|
|
|
| bool compilation_allowed_;
|
| + bool all_classes_finalized_;
|
|
|
| // TODO(23153): Move this out of Isolate/Thread.
|
| CHA* cha_;
|
|
|