debug: get rid of #ifdef guards
authorBernhard Urban <lewurm@gmail.com>
Tue, 8 May 2012 21:56:03 +0000 (23:56 +0200)
committerBernhard Urban <lewurm@gmail.com>
Tue, 8 May 2012 21:56:03 +0000 (23:56 +0200)
commit8d1996a73234eed84ba68dae7ef09b4faec2a7ea
treee45e3d3cd47873d6895bae5a807adb20f1962e4d
parent16e69705ef729212262289fa9f185f171a5b8380
debug: get rid of #ifdef guards

this can be done differently. unfortunately it requires some hacks, see
`Mate/Debug.hs' and `debug.h', but I think it's more convient to use.

note, that there're now different `printf_*' functions to use, in
order to map the desired debuglevel.

also see the file `HACKING' for usage.
13 files changed:
HACKING [new file with mode: 0644]
Makefile
Mate.hs
Mate/BasicBlocks.hs
Mate/ClassPool.hs
Mate/Debug.hs [new file with mode: 0644]
Mate/MethodPool.hs
Mate/RegisterAllocation.hs
Mate/Strings.hs
Mate/X86CodeGen.hs
debug.h [new file with mode: 0644]
doc/TODO
ffi/trap.c