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

Unified Diff: runtime/vm/dart.cc

Issue 2715213008: VM: Allow configuring use_field_guards on the per-isolate basis and include it into snapshot featur… (Closed)
Patch Set: Done Created 3 years, 10 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/clustered_snapshot.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index 579d920372d3ba590013e4b68e8de8e9b625189e..5a6a1b9fa3b8f138895727ab498b36c1871cc9b4 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -673,8 +673,11 @@ const char* Dart::FeaturesString(Isolate* isolate, Snapshot::Kind kind) {
(isolate != NULL) ? isolate->asserts() : FLAG_enable_asserts;
const bool type_checks =
(isolate != NULL) ? isolate->type_checks() : FLAG_enable_type_checks;
+ const bool field_guards =
+ (isolate != NULL) ? isolate->use_field_guards() : FLAG_use_field_guards;
buffer.AddString(asserts ? " asserts" : " no-asserts");
buffer.AddString(type_checks ? " type-checks" : " no-type-checks");
+ buffer.AddString(field_guards ? "field-guards" : "no-field-guards");
// Generated code must match the host architecture and ABI.
#if defined(TARGET_ARCH_ARM)
« no previous file with comments | « runtime/vm/clustered_snapshot.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698