1 /* DBG_JIT .... see generated code and CodeGen information
2 * DBG_BB ..... BasicBlock information
3 * DBG_MP ..... MethodPool.hs
4 * DBG_CP ..... ClassPool.hs
5 * DBG_STR .... Strings.hs
6 * // no printf* defined
7 * DBG_TRAP ... show information @ trap.c
8 * DBG_CLASS .. dump classfile
44 /* if one constant from above is defined, we want to import
45 * libraries like Text.Printf
46 * needed for gettting proper `-Wall' output on a release build */
48 #if defined(DBG_ALL) || defined(DBG_JIT) || defined(DBG_BB) || defined(DBG_MP) || defined(DBG_CP) || defined(DBG_STR)
64 /* it would be awesome if we could just write
65 * > printfFake = printf
66 * here, but the type can't be infered, since `PrintfType'
67 * isn't visible (at least this is my explanation :/).
68 * if I'm wrong, move this to `Mate/Debug.hs'
71 #define printfJit printf
75 #define printfBb printf
79 #define printfMp printf
83 #define printfCp printf
87 #define printfStr printf