summaryrefslogtreecommitdiff
path: root/src/lj_asm_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm_x86.h')
-rw-r--r--src/lj_asm_x86.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h
index 21ab7c25..ae90309b 100644
--- a/src/lj_asm_x86.h
+++ b/src/lj_asm_x86.h
@@ -479,7 +479,7 @@ static void asm_setupresult(ASMState *as, IRIns *ir, const CCallInfo *ci)
479 dest, RID_ESP, ofs); 479 dest, RID_ESP, ofs);
480 } 480 }
481 if ((ci->flags & CCI_CASTU64)) { 481 if ((ci->flags & CCI_CASTU64)) {
482 emit_movtomro(as, RID_RET, RID_ESP, ofs); 482 emit_movtomro(as, RID_RETLO, RID_ESP, ofs);
483 emit_movtomro(as, RID_RETHI, RID_ESP, ofs+4); 483 emit_movtomro(as, RID_RETHI, RID_ESP, ofs+4);
484 } else { 484 } else {
485 emit_rmro(as, irt_isnum(ir->t) ? XO_FSTPq : XO_FSTPd, 485 emit_rmro(as, irt_isnum(ir->t) ? XO_FSTPq : XO_FSTPd,
@@ -2180,7 +2180,7 @@ static void asm_hiop(ASMState *as, IRIns *ir)
2180 case IR_CALLXS: 2180 case IR_CALLXS:
2181 ra_destreg(as, ir, RID_RETHI); 2181 ra_destreg(as, ir, RID_RETHI);
2182 if (!uselo) 2182 if (!uselo)
2183 ra_allocref(as, ir->op1, RID2RSET(RID_RET)); /* Mark call as used. */ 2183 ra_allocref(as, ir->op1, RID2RSET(RID_RETLO)); /* Mark call as used. */
2184 break; 2184 break;
2185 case IR_CNEWI: 2185 case IR_CNEWI:
2186 /* Nothing to do here. Handled by CNEWI itself. */ 2186 /* Nothing to do here. Handled by CNEWI itself. */