* src/vm/jit/asmpart.h (asm_wrapper_patcher): Renamed to
[cacao.git] / src / vm / jit / mips / codegen.c
index 06d2206f6ff0eaf2241c35beeabab4d1f21f7e1f..f23ec702f5123510fccce327cb472d2e325f2c8d 100644 (file)
@@ -35,7 +35,7 @@
    This module generates MIPS machine code for a sequence of
    intermediate code commands (ICMDs).
 
-   $Id: codegen.c 5127 2006-07-13 10:26:38Z twisti $
+   $Id: codegen.c 5145 2006-07-17 11:48:38Z twisti $
 
 */
 
@@ -3894,7 +3894,7 @@ gen_method:
                        M_ALD(REG_ITMP3, REG_PV, disp);
                        M_AST(REG_ITMP3, REG_SP, 0 * 8);
 
-                       disp = dseg_addaddress(cd, asm_wrapper_patcher);
+                       disp = dseg_addaddress(cd, asm_patcher_wrapper);
                        M_ALD(REG_ITMP3, REG_PV, disp);
                        M_JMP(REG_ITMP3);
                        M_NOP;
@@ -4421,7 +4421,7 @@ u1 *createnativestub(functionptr f, jitdata *jd, methoddesc *nmd)
                        M_ALD(REG_ITMP3, REG_PV, disp);
                        M_AST(REG_ITMP3, REG_SP, 0 * 8);
 
-                       disp = dseg_addaddress(cd, asm_wrapper_patcher);
+                       disp = dseg_addaddress(cd, asm_patcher_wrapper);
                        M_ALD(REG_ITMP3, REG_PV, disp);
                        M_JMP(REG_ITMP3);
                        M_NOP;
@@ -4430,7 +4430,7 @@ u1 *createnativestub(functionptr f, jitdata *jd, methoddesc *nmd)
 
        codegen_finish(jd);
 
-       return jd->code->entrypoint;
+       return code->entrypoint;
 }