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

Unified Diff: vm/il_printer.cc

Issue 10826097: Use explicit push-argument for InstanceSetter instruction. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Fix syntax error Created 8 years, 5 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: vm/il_printer.cc
===================================================================
--- vm/il_printer.cc (revision 10115)
+++ vm/il_printer.cc (working copy)
@@ -176,6 +176,16 @@
}
}
+
+void InstanceSetterComp::PrintOperandsTo(BufferFormatter* f) const {
+ f->Print("%s", field_name().ToCString());
+ for (intptr_t i = 0; i < ArgumentCount(); ++i) {
+ f->Print(", ");
+ f->Print("cid%d", ArgumentAt(i)->cid());
+ }
+}
+
+
void StrictCompareComp::PrintOperandsTo(BufferFormatter* f) const {
f->Print("%s, ", Token::Str(kind()));
left()->PrintTo(f);

Powered by Google App Engine
This is Rietveld 408576698