| Index: runtime/vm/compiler.cc
|
| ===================================================================
|
| --- runtime/vm/compiler.cc (revision 35455)
|
| +++ runtime/vm/compiler.cc (working copy)
|
| @@ -659,11 +659,14 @@
|
| Smi& reason = Smi::Handle();
|
| for (intptr_t i = 0; i < deopt_table_length; ++i) {
|
| DeoptTable::GetEntry(deopt_table, i, &offset, &info, &reason);
|
| + ASSERT((0 <= reason.Value()) &&
|
| + (reason.Value() < ICData::kDeoptNumReasons));
|
| OS::Print("%4" Pd ": 0x%" Px " %s (%s)\n",
|
| i,
|
| start + offset.Value(),
|
| info.ToCString(),
|
| - DeoptReasonToText(reason.Value()));
|
| + DeoptReasonToCString(
|
| + static_cast<ICData::DeoptReasonId>(reason.Value())));
|
| }
|
| OS::Print("}\n");
|
| }
|
|
|