| Index: runtime/vm/il_printer.cc
|
| diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
|
| index d18ea990e35a2e6effc93aabefff9aae49c76761..6afc8d451865fef82ffa4daa5f4093f0a6c895c7 100644
|
| --- a/runtime/vm/il_printer.cc
|
| +++ b/runtime/vm/il_printer.cc
|
| @@ -778,9 +778,7 @@ void Environment::PrintTo(BufferFormatter* f) const {
|
| for (intptr_t i = 0; i < values_.length(); ++i) {
|
| if (i > 0) f->Print(", ");
|
| values_[i]->PrintTo(f);
|
| - if ((locations_ != NULL) &&
|
| - (i < location_count_) &&
|
| - !locations_[i].IsInvalid()) {
|
| + if ((locations_ != NULL) && !locations_[i].IsInvalid()) {
|
| f->Print(" [");
|
| locations_[i].PrintTo(f);
|
| f->Print("]");
|
|
|