| 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++) {
|
|
|