fields: use offsets from ClassInfo in codegen
authorBernhard Urban <lewurm@gmail.com>
Wed, 25 Apr 2012 09:03:06 +0000 (11:03 +0200)
committerBernhard Urban <lewurm@gmail.com>
Wed, 25 Apr 2012 09:03:06 +0000 (11:03 +0200)
commitb6e379114b45fca215e766816e9db94199bb4f00
tree403e91224d22d385a232e312ec5e7c136da44391
parent34dadf6751bcfae280ca2fe66d084404782acfdb
fields: use offsets from ClassInfo in codegen

BUT:
    Couldn't match expected type `IO CUInt'
           against inferred type `CodeGen e s CUInt'

any idea how to solve this problem *without* `unsafePerformIO'?
Makefile
Mate/ClassPool.hs
Mate/Utilities.hs
Mate/X86CodeGen.hs
ffi/trap.c
tests/Instance1.java
tests/Instance2.java [new file with mode: 0644]