Skip to content

Commit

Permalink
Give spesh dumper handling of derived plan entries
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 13, 2020
1 parent 3f7d47a commit 4dc2d40
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/spesh/dump.c
Expand Up @@ -904,8 +904,12 @@ char * MVM_spesh_dump_planned(MVMThreadContext *tc, MVMSpeshPlanned *p) {
append(&ds, "For unknown reasons.\n");
break;
}
case MVM_SPESH_PLANNED_DERIVED_TYPES:
case MVM_SPESH_PLANNED_DERIVED_TYPES: {
MVMCallsite *cs = p->cs_stats->cs;
append(&ds, "It was planned for the type tuple:\n");
dump_stats_type_tuple(tc, &ds, cs, p->type_tuple, " ");
break;
}
}

appendf(&ds, "\nThe maximum stack depth is %d.\n\n", p->max_depth);
Expand Down

0 comments on commit 4dc2d40

Please sign in to comment.