codegen: handle exceptions of a method master
authorBernhard Urban <lewurm@gmail.com>
Sun, 9 Sep 2012 16:03:45 +0000 (18:03 +0200)
committerBernhard Urban <lewurm@gmail.com>
Sun, 9 Sep 2012 16:03:45 +0000 (18:03 +0200)
commitc541c18161f42753454ab94bbc5e1a43ef89ae40
tree125b59b494c24c3b96dc6d595c21937c1ec9b4bb
parentde9b805eb93b4a39c03e9f7e1cda62c674c87fe3
codegen: handle exceptions of a method

also, use bimap for mapping jpc and npc values

TODO: if no handler is found, throw it to caller method
Mate/BasicBlocks.hs
Mate/MethodPool.hs
Mate/Types.hs
Mate/X86CodeGen.hs
Mate/X86TrapHandling.hs
java/lang/IllegalArgumentException.java [new file with mode: 0644]
tests/Exception2.java [new file with mode: 0644]
tests/Exception3.java [new file with mode: 0644]
tests/Exception4.java [new file with mode: 0644]
tools/installhaskellenv.sh