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

Unified Diff: runtime/vm/locations.cc

Issue 1678203002: Remove more feature in product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.cc
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc
index de4f773a9b84efb30e134045733040b9eaf93abb..8a9499eb3c2b99793bead36c4a8d1a31d3de3e22 100644
--- a/runtime/vm/locations.cc
+++ b/runtime/vm/locations.cc
@@ -195,6 +195,9 @@ const char* Location::Name() const {
void Location::PrintTo(BufferFormatter* f) const {
+ if (!FLAG_support_il_printer) {
+ return;
+ }
if (kind() == kStackSlot) {
f->Print("S%+" Pd "", stack_index());
} else if (kind() == kDoubleStackSlot) {
@@ -297,6 +300,9 @@ Location Location::RemapForSlowPath(Definition* def,
void LocationSummary::PrintTo(BufferFormatter* f) const {
+ if (!FLAG_support_il_printer) {
+ return;
+ }
if (input_count() > 0) {
f->Print(" (");
for (intptr_t i = 0; i < input_count(); i++) {
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698