Skip to content

Commit

Permalink
Improve error by including unhandled op.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 8, 2015
1 parent 679d06f commit b23351a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spesh/inline.c
Expand Up @@ -654,7 +654,8 @@ static void rewrite_args(MVMThreadContext *tc, MVMSpeshGraph *inliner,
break;
default:
MVM_exception_throw_adhoc(tc,
"Spesh inline: unhandled arg instruction");
"Spesh inline: unhandled arg instruction %d",
arg_ins->info->opcode);
}
break;
}
Expand Down

0 comments on commit b23351a

Please sign in to comment.