Untangle some target dependencies.

This commit is contained in:
Mike Pall
2010-08-03 22:09:12 +02:00
parent a6b7952f7e
commit 33ef1fa524
11 changed files with 114 additions and 110 deletions

View File

@@ -950,7 +950,7 @@ static MCode *asm_exitstub_gen(ASMState *as, ExitNo group)
}
/* Push the high byte of the exitno for each exit stub group. */
*mxp++ = XI_PUSHi8; *mxp++ = (MCode)((group*EXITSTUBS_PER_GROUP)>>8);
/* Store DISPATCH in ExitInfo->dispatch. Account for the two push ops. */
/* Store DISPATCH at original stack slot 0. Account for the two push ops. */
*mxp++ = XI_MOVmi;
*mxp++ = MODRM(XM_OFS8, 0, RID_ESP);
*mxp++ = MODRM(XM_SCALE1, RID_ESP, RID_ESP);