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

Unified Diff: runtime/vm/il_printer.cc

Issue 552303005: Fix StoreIndexedInstr input representation requirements for Int32/Uint32 arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix typo Created 6 years, 3 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 26168147049ff47da59db977aa5df80ff6c43598..e973258a0008136a2cc81a4981d2a0f14528a141 100644
--- a/runtime/vm/il_printer.cc
+++ b/runtime/vm/il_printer.cc
@@ -1043,10 +1043,19 @@ void PhiInstr::PrintTo(BufferFormatter* f) const {
}
+void UnboxIntNInstr::PrintOperandsTo(BufferFormatter* f) const {
+ if (is_truncating()) {
+ f->Print("[tr], ");
+ }
+ Definition::PrintOperandsTo(f);
+}
+
+
void UnboxedIntConverterInstr::PrintOperandsTo(BufferFormatter* f) const {
- f->Print("%s->%s, ",
+ f->Print("%s->%s%s, ",
RepresentationToCString(from()),
- RepresentationToCString(to()));
+ RepresentationToCString(to()),
+ is_truncating() ? "[tr]" : "");
Definition::PrintOperandsTo(f);
}

Powered by Google App Engine
This is Rietveld 408576698