invokevirtual: get the actual class at run-time
authorBernhard Urban <lewurm@gmail.com>
Wed, 25 Apr 2012 19:17:33 +0000 (21:17 +0200)
committerBernhard Urban <lewurm@gmail.com>
Wed, 25 Apr 2012 21:53:09 +0000 (23:53 +0200)
commit54a2170d22bb853afa42d87eeeffd8b633efcd36
treeb7f67de32ea8c10d1e4903d590dd8ecad2f212e2
parent15833bb85e8b1b82f30024ff7261a208327ceb32
invokevirtual: get the actual class at run-time

we don't know the actual class in the CodeGen Monad, so we have to
deduce it at run-time. we use the method-table-ptr for that, since
it has an unique address which we can use to map the actual class.
Makefile
Mate/ClassPool.hs
Mate/MethodPool.hs
Mate/Types.hs
Mate/X86CodeGen.hs
ffi/trap.c
tests/Instance4.java [new file with mode: 0644]