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

Unified Diff: runtime/vm/il_printer.cc

Issue 10892037: Stop attaching try_index to individual instructions put it at block entry instead. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
Index: runtime/vm/il_printer.cc
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
index 30afbd1bd33e03986d7c78cfba352625bcddac12..952a016c5237b6d83d9ffa18d543f0decacd3220 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 (HasCatchTryIndex()) {
+ 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 (HasCatchTryIndex()) {
+ f->Print(" catch %d]", catch_try_index());
} else {
f->Print("]");
}

Powered by Google App Engine
This is Rietveld 408576698