2004-04-06 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Thu, 8 Apr 2004 18:15:31 +0000 (18:15 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 8 Apr 2004 18:15:31 +0000 (18:15 -0000)
commita74a3b47fd8aaf1e2e2bc05c11b41748d391cc89
tree33e5fe9006dde5ccaa7b221761baf27adf04a9fb
parent9ed9fe066318156fa56e359f0ba16448d9dd6e29
2004-04-06  Miguel de Icaza  <miguel@ximian.com>

* tramp-ppc.c (create_trampoline_code): Added
JUMP_TRAMPOLINE_SIZE.
(ppc_magic_trampoline): Follow the pattern from
x86_magic_trampoline: if code is set to zero, return.
(create_trampoline_code): Always pass MonoMethod to the jump
trampoline, before it was passing a null.
(mono_arch_create_jump_trampoline): Implement the jump stub, could
share the code with mono_arch_create_jit_trampoline.

* mini-ppc.c (mono_arch_output_basic_block): CEE_JMP opcode
implemented.
(mono_arch_patch_code): MONO_PATCH_INFO_METHOD_JUMP patch type
implemented.

* cpu-g4.md: Added length for jmp instruction, the worst case
scenario is 92 bytes (4 mandatory bytes, potential 19 registers
for save_lmf).

svn path=/trunk/mono/; revision=25224
mono/mini/ChangeLog
mono/mini/cpu-g4.md
mono/mini/mini-ppc.c
mono/mini/tramp-ppc.c