Index: runtime/vm/compiler.cc |
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc |
index 8e476044c2dc655134bbf8d69da9e66fd40c735f..719e8b0c1647830d79ba304cd17c7c23732631ed 100644 |
--- a/runtime/vm/compiler.cc |
+++ b/runtime/vm/compiler.cc |
@@ -348,7 +348,8 @@ static void DisassembleCode(const Function& function, bool optimized) { |
Smi& reason = Smi::Handle(); |
for (intptr_t i = 0; i < deopt_table_length; ++i) { |
DeoptTable::GetEntry(deopt_table, i, &offset, &info, &reason); |
- OS::Print("0x%"Px" %s (%s)\n", |
+ OS::Print("%4"Pd": 0x%"Px" %s (%s)\n", |
Kevin Millikin (Google)
2012/10/05 14:31:55
Here we print 'compressed' entries, sometimes term
srdjan
2012/10/08 16:37:58
I think we need to do both, i.e., have a flag that
|
+ i, |
start + offset.Value(), |
info.ToCString(), |
DeoptReasonToText(reason.Value())); |