Chromium Code Reviews| Index: runtime/vm/il_printer.cc |
| diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc |
| index 4a6fe3bd38d397b14803d01fbaf3999ddb7771fe..9b6677010dbcf356c9bf5bacdf6ac063179c0139 100644 |
| --- a/runtime/vm/il_printer.cc |
| +++ b/runtime/vm/il_printer.cc |
| @@ -128,6 +128,7 @@ static void PrintICData(BufferFormatter* f, const ICData& ic_data) { |
| if (count > 0) { |
| f->Print(" #%"Pd, count); |
| } |
| + f->Print(" <%p>", static_cast<void*>(target.raw())); |
|
Florian Schneider
2013/01/15 13:46:58
use Px instead?
|
| } |
| f->Print("]"); |
| } |
| @@ -323,7 +324,12 @@ void InstanceCallInstr::PrintOperandsTo(BufferFormatter* f) const { |
| void PolymorphicInstanceCallInstr::PrintOperandsTo(BufferFormatter* f) const { |
| - instance_call()->PrintOperandsTo(f); |
| + f->Print("%s", instance_call()->function_name().ToCString()); |
| + for (intptr_t i = 0; i < ArgumentCount(); ++i) { |
| + f->Print(", "); |
| + ArgumentAt(i)->value()->PrintTo(f); |
| + } |
| + PrintICData(f, ic_data()); |
| } |