luajit head breaks compiler for x64

  • From: Dimiter 'malkia' Stanev <malkia@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 01 Oct 2012 14:41:24 -0700

This fixes it, but probably Mike already had something better:

diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h
index 7288d72..4b14864 100644
--- a/src/lj_asm_x86.h
+++ b/src/lj_asm_x86.h
@@ -549,9 +549,9 @@ static void asm_setupresult(ASMState *as, IRIns *ir, const CCallInfo *ci)
        emit_rmro(as, irt_isnum(ir->t) ? XO_FSTPq : XO_FSTPd,
                  irt_isnum(ir->t) ? XOg_FSTPq : XOg_FSTPd, RID_ESP, ofs);
       }
-#endif
     } else if (hiop) {
       ra_destpair(as, ir);
+#endif
     } else {
       lua_assert(!irt_ispri(ir->t));
       ra_destreg(as, ir, RID_RET);

this commit broke it:
2012-09-27 14:16 Mike Pall          0ecdff4



Other related posts:

  • » luajit head breaks compiler for x64 - Dimiter 'malkia' Stanev