traps: use harpy for patching
authorBernhard Urban <lewurm@gmail.com>
Sat, 18 Aug 2012 16:22:46 +0000 (18:22 +0200)
committerBernhard Urban <lewurm@gmail.com>
Sat, 18 Aug 2012 16:22:46 +0000 (18:22 +0200)
commit1f89e5ca20462468c9b1620a4ba162cb9a8addef
treeb803f1c1b890dc6ae620a19da1c9ed943e15a1c0
parentc803146cc80b61305fde8279f0a36f8fe6ef7eb2
traps: use harpy for patching

pro:
o more readable

contra:
o probably slower than plain patching
o no saftey checks any more (but we could add that if we want)
Mate/X86CodeGen.hs
Mate/X86TrapHandling.hs
doc/TODO