Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(581)

Unified Diff: runtime/vm/isolate.h

Issue 1392893003: In precompilation, finalize all classes eagerly. Use the stable class hierarchy for doing CHA based… (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Sync Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 00abb13659ea92ec77707cbe1db94571adcd980e..b91b4ef2c1fea6241ff135303d453317f0aee8af 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -658,6 +658,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,
@@ -849,6 +855,7 @@ class Isolate : public BaseIsolate {
Metric* metrics_list_head_;
bool compilation_allowed_;
+ bool all_classes_finalized_;
// Isolate list next pointer.
Isolate* next_;
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698