From b23351a7a995c936e5acec9127c59fa5ebd5698f Mon Sep 17 00:00:00 2001 From: jnthn Date: Sun, 8 Feb 2015 21:17:06 +0100 Subject: [PATCH] Improve error by including unhandled op. --- src/spesh/inline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/spesh/inline.c b/src/spesh/inline.c index 1a9f335492..94adf0b5eb 100644 --- a/src/spesh/inline.c +++ b/src/spesh/inline.c @@ -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; }