From 06b8942c4f279ca62fad6d1b5e955dd33ec3f985 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 7 Sep 2006 17:10:38 +0000 Subject: [PATCH] If we get an unknown or unimplemented opcode, say what it is --- rts/Interpreter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rts/Interpreter.c b/rts/Interpreter.c index 81d4e38..94a0286 100644 --- a/rts/Interpreter.c +++ b/rts/Interpreter.c @@ -1249,7 +1249,8 @@ run_BCO: // Errors default: - barf("interpretBCO: unknown or unimplemented opcode"); + barf("interpretBCO: unknown or unimplemented opcode %d", + (int)BCO_NEXT); } /* switch on opcode */ } -- 1.7.10.4