diff options
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 56b39e32..7773abe1 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -950,7 +950,7 @@ static MCode *asm_exitstub_gen(ASMState *as, ExitNo group) | |||
950 | } | 950 | } |
951 | /* Push the high byte of the exitno for each exit stub group. */ | 951 | /* Push the high byte of the exitno for each exit stub group. */ |
952 | *mxp++ = XI_PUSHi8; *mxp++ = (MCode)((group*EXITSTUBS_PER_GROUP)>>8); | 952 | *mxp++ = XI_PUSHi8; *mxp++ = (MCode)((group*EXITSTUBS_PER_GROUP)>>8); |
953 | /* Store DISPATCH in ExitInfo->dispatch. Account for the two push ops. */ | 953 | /* Store DISPATCH at original stack slot 0. Account for the two push ops. */ |
954 | *mxp++ = XI_MOVmi; | 954 | *mxp++ = XI_MOVmi; |
955 | *mxp++ = MODRM(XM_OFS8, 0, RID_ESP); | 955 | *mxp++ = MODRM(XM_OFS8, 0, RID_ESP); |
956 | *mxp++ = MODRM(XM_SCALE1, RID_ESP, RID_ESP); | 956 | *mxp++ = MODRM(XM_SCALE1, RID_ESP, RID_ESP); |