classpool: add interface-table-ptr to method-table-ptr
authorBernhard Urban <lewurm@gmail.com>
Mon, 30 Apr 2012 22:37:13 +0000 (00:37 +0200)
committerBernhard Urban <lewurm@gmail.com>
Mon, 30 Apr 2012 22:37:13 +0000 (00:37 +0200)
commitde849ccd03dca9b978457042cb3082d758f68c2c
tree7052a9f80e8599cf69155bf990dd35cc75eb7e1a
parent4acc971dbcafd34fa7f5716513ae4dd47e0ea0eb
classpool: add interface-table-ptr to method-table-ptr

at codegen it's very similiar to invokevirtual, but in the
classpool we have to build a quite big table for interface
methods offsets for each class.

misc notes:
- introduced a traptype lookup for trap.c
- interface-table-ptr is stored at offset 0 of the method-table
Mate/ClassPool.hs
Mate/MethodPool.hs
Mate/Types.hs
Mate/Utilities.hs
Mate/X86CodeGen.hs
ffi/trap.c
tests/Interface1.java [new file with mode: 0644]
tests/Interface2.java [new file with mode: 0644]