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 $
*/
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;
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;
codegen_finish(jd);
- return jd->code->entrypoint;
+ return code->entrypoint;
}