| Index: runtime/vm/il_printer.cc
|
| ===================================================================
|
| --- runtime/vm/il_printer.cc (revision 8372)
|
| +++ runtime/vm/il_printer.cc (working copy)
|
| @@ -167,9 +167,23 @@
|
| }
|
|
|
|
|
| +static void PrintClassIds(BufferFormatter* f,
|
| + const ZoneGrowableArray<intptr_t>& class_ids) {
|
| + f->Print(" [");
|
| + for (intptr_t i = 0; i < class_ids.length(); i++) {
|
| + if (i != 0) f->Print(", ");
|
| + f->Print("%d", class_ids[i]);
|
| + }
|
| + f->Print("]");
|
| +}
|
| +
|
| +
|
| void LoadInstanceFieldComp::PrintOperandsTo(BufferFormatter* f) const {
|
| f->Print("%s, ", String::Handle(field().name()).ToCString());
|
| instance()->PrintTo(f);
|
| + if (class_ids() != NULL) {
|
| + PrintClassIds(f, *class_ids());
|
| + }
|
| }
|
|
|
|
|
| @@ -178,6 +192,9 @@
|
| instance()->PrintTo(f);
|
| f->Print(", ");
|
| value()->PrintTo(f);
|
| + if (class_ids() != NULL) {
|
| + PrintClassIds(f, *class_ids());
|
| + }
|
| }
|
|
|
|
|
|
|