* src/vm/jit/alpha/md.c (md_assembler_get_patch_address): New method.
authortwisti <none@none>
Sun, 12 Feb 2006 23:43:09 +0000 (23:43 +0000)
committertwisti <none@none>
Sun, 12 Feb 2006 23:43:09 +0000 (23:43 +0000)
commit761757ae910976060d4920c4315f2e26baadbd1d
tree0a357644d8e08df0b71d9b3c3a18165a139d6cac
parentb62a76dc78b74882ea280d3b016d46d202a297f6
* src/vm/jit/alpha/md.c (md_assembler_get_patch_address): New method.
(md_codegen_findmethod): Use assert's directly.

* src/vm/jit/mips/md.c (md_assembler_get_patch_address): Likewise.
(md_codegen_findmethod): Likewise.

* src/vm/jit/alpha/codegen.c (createcompilerstub): Store the
methodinfo pointer in the same place as in the methodheader for
compiled methods and pass the pointer in REG_ITMP1.

* src/vm/jit/alpha/md-asm.h (mptr): Defined.

* src/vm/jit/powerpc/asmpart.S (asm_call_jit_compiler): methodinfo
pointer is passed via itmp1.  Use md_assembler_get_patch_address to
get the patch address.
(asm_calljavafunction, asm_calljavafunction2): Pass methodinfo pointer
via itmp1.
src/vm/jit/alpha/asmpart.S
src/vm/jit/alpha/codegen.c
src/vm/jit/alpha/md-asm.h
src/vm/jit/alpha/md.c
src/vm/jit/mips/md.c