* src/vm/jit/jit.c (jit_asm_compile): New method.
authortwisti <none@none>
Fri, 21 Apr 2006 10:54:24 +0000 (10:54 +0000)
committertwisti <none@none>
Fri, 21 Apr 2006 10:54:24 +0000 (10:54 +0000)
commit9f9da4d8a07992b384d14a41f441e95aea050a71
tree0ef6bfa71116f985f2e96dd1057457a97e80cd8c
parent29c2abdacf9e5cc0d4e3c9d6bdb9dc58db26b83c
* src/vm/jit/jit.c (jit_asm_compile): New method.
* src/vm/jit/jit.h (jit_asm_compile): Added.
(md_get_method_patch_address): Likewise.

* src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Store
asm_call_jit_compiler on stack as for the other architectures.
(asm_call_jit_compiler): Use new jit_asm_compile.

* src/vm/jit/x86_64/codegen.c (codegen): Use REG_ITMP3 for calling
methods. This is required for asm_vm_call_method to work.

* src/vm/jit/x86_64/md.c (md_get_method_patch_address): New method.
(md_icacheflush): Added.
(md_dcacheflush): Added.
* src/vm/jit/x86_64/md-asm.h (mptr): Defined.
src/vm/jit/jit.c
src/vm/jit/jit.h
src/vm/jit/x86_64/asmpart.S
src/vm/jit/x86_64/codegen.c
src/vm/jit/x86_64/md-asm.h
src/vm/jit/x86_64/md.c