| Index: runtime/vm/il_printer.cc
|
| diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
|
| index c8bc854b952813eaadcd475d756f4ad32d870088..6a1dc97dee42ec9f95a8413833dc77358d6b1155 100644
|
| --- a/runtime/vm/il_printer.cc
|
| +++ b/runtime/vm/il_printer.cc
|
| @@ -436,9 +436,8 @@ void GraphEntryInstr::PrintTo(BufferFormatter* f) const {
|
| f->Print("%2"Pd": [graph]", block_id());
|
| if (start_env_ != NULL) {
|
| f->Print("\n{\n");
|
| - const GrowableArray<Value*>& values = start_env_->values();
|
| - for (intptr_t i = 0; i < values.length(); i++) {
|
| - Definition* def = values[i]->definition();
|
| + for (intptr_t i = 0; i < start_env_->Length(); i++) {
|
| + Definition* def = start_env_->ValueAt(i)->definition();
|
| f->Print(" ");
|
| def->PrintTo(f);
|
| f->Print("\n");
|
| @@ -796,6 +795,7 @@ void Environment::PrintTo(BufferFormatter* f) const {
|
| }
|
| }
|
| f->Print(" }");
|
| + if (outer_ != NULL) outer_->PrintTo(f);
|
| }
|
|
|
| } // namespace dart
|
|
|