Index: runtime/vm/il_printer.cc |
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc |
index 30afbd1bd33e03986d7c78cfba352625bcddac12..02dbcbeeedb4b03312e13d99ecbd0e41ed36dd9b 100644 |
--- a/runtime/vm/il_printer.cc |
+++ b/runtime/vm/il_printer.cc |
@@ -498,8 +498,8 @@ void ParameterInstr::PrintTo(BufferFormatter* f) const { |
void TargetEntryInstr::PrintTo(BufferFormatter* f) const { |
f->Print("%2d: [target", block_id()); |
- if (HasTryIndex()) { |
- f->Print(" catch %d]", try_index()); |
+ if (IsCatchEntry()) { |
+ f->Print(" catch %d]", catch_try_index()); |
} else { |
f->Print("]"); |
} |
@@ -763,8 +763,8 @@ void ParameterInstr::PrintToVisualizer(BufferFormatter* f) const { |
void TargetEntryInstr::PrintToVisualizer(BufferFormatter* f) const { |
f->Print("_ [target"); |
- if (HasTryIndex()) { |
- f->Print(" catch %d]", try_index()); |
+ if (IsCatchEntry()) { |
+ f->Print(" catch %d]", catch_try_index()); |
} else { |
f->Print("]"); |
} |