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

Unified Diff: runtime/vm/isolate.h

Issue 1261673004: Non-tree-shaking --precompile. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 f336109d79e15d840de010e2f3053b48533690d7..990d2339cb0632d122158610da12a7f96057e78e 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -693,6 +693,11 @@ class Isolate : public BaseIsolate {
RawUserTag* default_tag() const { return default_tag_; }
void set_default_tag(const UserTag& tag);
+ RawGrowableObjectArray* collected_closures() const {
+ return collected_closures_;
+ }
+ void set_collected_closures(const GrowableObjectArray& value);
+
Metric* metrics_list_head() {
return metrics_list_head_;
}
@@ -707,6 +712,11 @@ class Isolate : public BaseIsolate {
void set_deoptimized_code_array(const GrowableObjectArray& value);
void TrackDeoptimizedCode(const Code& code);
+ bool compilation_allowed() const { return compilation_allowed_; }
+ void set_compilation_allowed(bool allowed) {
+ compilation_allowed_ = allowed;
+ }
+
#if defined(DEBUG)
#define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \
void set_reusable_##object##_handle_scope_active(bool value) { \
@@ -846,12 +856,16 @@ class Isolate : public BaseIsolate {
RawGrowableObjectArray* tag_table_;
RawUserTag* current_tag_;
RawUserTag* default_tag_;
+
+ RawGrowableObjectArray* collected_closures_;
RawGrowableObjectArray* deoptimized_code_array_;
Metric* metrics_list_head_;
Counters counters_;
+ bool compilation_allowed_;
+
// TODO(23153): Move this out of Isolate/Thread.
CHA* cha_;
« 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