If we get an unknown or unimplemented opcode, say what it is
authorIan Lynagh <igloo@earth.li>
Thu, 7 Sep 2006 17:10:38 +0000 (17:10 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 7 Sep 2006 17:10:38 +0000 (17:10 +0000)
rts/Interpreter.c

index 81d4e38..94a0286 100644 (file)
@@ -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 */
     }