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
40 /* if one constant from above is defined, we want to import
41 * libraries like Text.Printf
42 * needed for gettting proper `-Wall' output on a release build */
44 #if defined(DBG_JIT) || defined(DBG_BB) || defined(DBG_MP) || defined(DBG_CP) || defined(DBG_STR)
48 /* it would be awesome if we could just write
49 * > printfFake = printf
50 * here, but the type can't be infered, since `PrintfType'
51 * isn't visible (at least this is my explanation :/).
52 * if I'm wrong, move this to `Mate/Debug.hs'
55 #define printfJit printf
59 #define printfBb printf
63 #define printfMp printf
67 #define printfCp printf
71 #define printfStr printf