Browse code

Switch interpreter to debug mode by default.

This does more sanity checks.

Török Edvin authored on 2010/03/18 02:33:54
Showing 1 changed files
... ...
@@ -30,9 +30,12 @@
30 30
 #include "readdb.h"
31 31
 #include <string.h>
32 32
 
33
+/* Enable this to catch more bugs in the RC phase */
34
+#define CL_BYTECODE_DEBUG
35
+
33 36
 /* These checks will also be done by the bytecode verifier, but for
34 37
  * debugging purposes we have explicit checks, these should never fail! */
35
-#ifdef CL_DEBUG
38
+#ifdef CL_BYTECODE_DEBUG
36 39
 static int bcfail(const char *msg, long a, long b,
37 40
 		  const char *file, unsigned line)
38 41
 {