debug: remove #ifdef's and use dumb logger
authorBernhard Urban <lewurm@gmail.com>
Sat, 25 Aug 2012 19:06:03 +0000 (21:06 +0200)
committerBernhard Urban <lewurm@gmail.com>
Sat, 25 Aug 2012 19:06:03 +0000 (21:06 +0200)
commitdc7082de1fff3158da5682d683502128b5f6cc0b
tree38663f9b22b6d065d965efab59afc3bd31c12c4c
parent58b7d15fa9d3089dc65fa0f9a0f4be3f8ddd35e6
debug: remove #ifdef's and use dumb logger

advantage:
- Haskell code, i.e. tools like hlint or ghc-mod don't have problems with
  processing the source files with CPP
- no (ugly?) old school CPP stuff

disadvantage:
- it's not really a printf thingy (maybe we'll be able to use it soon)
18 files changed:
.gitignore
HACKING
Makefile
Mate.hs
Mate/BasicBlocks.hs
Mate/ClassPool.hs
Mate/Debug.hs
Mate/GarbageAlloc.hs
Mate/MethodPool.hs
Mate/NativeMachine.hs
Mate/NativeSizes.hs
Mate/RegisterAllocation.hs
Mate/Strings.hs
Mate/Utilities.hs
Mate/X86CodeGen.hs
Mate/X86TrapHandling.hs
debug.h [deleted file]
ffi/trap.c