| Index: vm/il_printer.cc
|
| ===================================================================
|
| --- vm/il_printer.cc (revision 9930)
|
| +++ vm/il_printer.cc (working copy)
|
| @@ -152,8 +152,8 @@
|
|
|
| void ClosureCallComp::PrintOperandsTo(BufferFormatter* f) const {
|
| for (intptr_t i = 0; i < ArgumentCount(); ++i) {
|
| - if (i == 0) f->Print(", ");
|
| - ArgumentAt(i)->PrintTo(f);
|
| + if (i > 0) f->Print(", ");
|
| + f->Print("cid%d", ArgumentAt(i)->cid());
|
| }
|
| }
|
|
|
| @@ -295,10 +295,10 @@
|
|
|
| void CreateClosureComp::PrintOperandsTo(BufferFormatter* f) const {
|
| f->Print("%s", function().ToCString());
|
| - f->Print(", ");
|
| - type_arguments()->PrintTo(f);
|
| - f->Print(", ");
|
| - receiver()->PrintTo(f);
|
| + for (intptr_t i = 0; i < ArgumentCount(); ++i) {
|
| + f->Print(", ");
|
| + f->Print("cid%d", ArgumentAt(i)->cid());
|
| + }
|
| }
|
|
|
|
|
| @@ -422,6 +422,12 @@
|
| }
|
|
|
|
|
| +void PushArgumentInstr::PrintTo(BufferFormatter* f) const {
|
| + f->Print(" %s:%d ", DebugName(), cid());
|
| + value()->PrintTo(f);
|
| +}
|
| +
|
| +
|
| void ReturnInstr::PrintTo(BufferFormatter* f) const {
|
| f->Print(" %s ", DebugName());
|
| value()->PrintTo(f);
|
| @@ -680,6 +686,12 @@
|
| }
|
|
|
|
|
| +void PushArgumentInstr::PrintToVisualizer(BufferFormatter* f) const {
|
| + f->Print("_ %s:%d ", DebugName(), cid());
|
| + value()->PrintTo(f);
|
| +}
|
| +
|
| +
|
| void ReturnInstr::PrintToVisualizer(BufferFormatter* f) const {
|
| f->Print("_ %s ", DebugName());
|
| value()->PrintTo(f);
|
|
|