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

Unified Diff: runtime/vm/il_printer.cc

Issue 579233002: Fix ConstantPropagator::VisitBinaryDoubleOp to work with all integer types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 1861aeb20c2fc5eb7940ae16a0281e48ff82b8f4..e9eea97c1bb91a3f9b0dd57c04f97c0c674475c2 100644
--- a/runtime/vm/il_printer.cc
+++ b/runtime/vm/il_printer.cc
@@ -867,6 +867,15 @@ void UnaryDoubleOpInstr::PrintOperandsTo(BufferFormatter* f) const {
}
+void CheckClassIdInstr::PrintOperandsTo(BufferFormatter* f) const {
+ value()->PrintTo(f);
+
+ const Class& cls =
+ Class::Handle(Isolate::Current()->class_table()->At(cid()));
+ f->Print(", %s", String::Handle(cls.PrettyName()).ToCString());
+}
+
+
void CheckClassInstr::PrintOperandsTo(BufferFormatter* f) const {
value()->PrintTo(f);
PrintICDataHelper(f, unary_checks());

Powered by Google App Engine
This is Rietveld 408576698