diff options
-rw-r--r-- | src/lj_asm_x86.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index ae90309b..45afdc88 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h | |||
@@ -463,9 +463,8 @@ static void asm_setupresult(ASMState *as, IRIns *ir, const CCallInfo *ci) | |||
463 | ra_free(as, dest); | 463 | ra_free(as, dest); |
464 | ra_modified(as, dest); | 464 | ra_modified(as, dest); |
465 | emit_rr(as, XO_MOVD, dest|REX_64, RID_RET); /* Really MOVQ. */ | 465 | emit_rr(as, XO_MOVD, dest|REX_64, RID_RET); /* Really MOVQ. */ |
466 | } else { | ||
467 | emit_movtomro(as, RID_RET|REX_64, RID_ESP, ofs); | ||
468 | } | 466 | } |
467 | if (ofs) emit_movtomro(as, RID_RET|REX_64, RID_ESP, ofs); | ||
469 | } else { | 468 | } else { |
470 | ra_destreg(as, ir, RID_FPRET); | 469 | ra_destreg(as, ir, RID_FPRET); |
471 | } | 470 | } |