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

Unified Diff: runtime/vm/il_printer.cc

Issue 22590002: Fix bug with optimized try-catch on ARM/MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: added cleanup of CatchEntry Created 7 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
===================================================================
--- runtime/vm/il_printer.cc (revision 25871)
+++ runtime/vm/il_printer.cc (working copy)
@@ -578,13 +578,6 @@
}
-void CatchEntryInstr::PrintOperandsTo(BufferFormatter* f) const {
- f->Print("%s, %s",
- exception_var().name().ToCString(),
- stacktrace_var().name().ToCString());
-}
-
-
void BinarySmiOpInstr::PrintTo(BufferFormatter* f) const {
Definition::PrintTo(f);
f->Print(" %co", overflow_ ? '+' : '-');
@@ -899,7 +892,7 @@
f->Print("B%"Pd"[target catch try_idx %"Pd" catch_try_idx %"Pd"]",
block_id(), try_index(), catch_try_index());
if (HasParallelMove()) {
- f->Print(" ");
+ f->Print("\n");
parallel_move()->PrintTo(f);
}

Powered by Google App Engine
This is Rietveld 408576698