diff options
-rw-r--r-- | src/lj_asm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index a69f4461..d5e74185 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -1578,6 +1578,8 @@ static void asm_setupresult(ASMState *as, IRIns *ir, const CCallInfo *ci) | |||
1578 | lua_assert(!irt_ispri(ir->t)); | 1578 | lua_assert(!irt_ispri(ir->t)); |
1579 | ra_destreg(as, ir, RID_RET); | 1579 | ra_destreg(as, ir, RID_RET); |
1580 | } | 1580 | } |
1581 | } else if (LJ_32 && irt_isfp(ir->t)) { | ||
1582 | emit_x87op(as, XI_FPOP); /* Pop unused result from x87 st0. */ | ||
1581 | } | 1583 | } |
1582 | } | 1584 | } |
1583 | 1585 | ||