aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_x86.h
diff options
context:
space:
mode:
authorMike Pall <mike>2014-05-27 15:59:20 +0200
committerMike Pall <mike>2014-05-27 15:59:20 +0200
commit7400e2c0cc09cfd332f3e9f831872abc343de406 (patch)
tree48bec4313fb1f9628820f2b0bfd97ac1e86fa676 /src/lj_asm_x86.h
parent945af491b6438046f6ae3560e60b000c59776a43 (diff)
parent49d3157e146bc33b5b7c3a82ce00a8f824f6fa49 (diff)
downloadluajit-7400e2c0cc09cfd332f3e9f831872abc343de406.tar.gz
luajit-7400e2c0cc09cfd332f3e9f831872abc343de406.tar.bz2
luajit-7400e2c0cc09cfd332f3e9f831872abc343de406.zip
Merge branch 'master' into v2.1
Diffstat (limited to 'src/lj_asm_x86.h')
-rw-r--r--src/lj_asm_x86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h
index 3e87ba18..12c7a6ba 100644
--- a/src/lj_asm_x86.h
+++ b/src/lj_asm_x86.h
@@ -571,7 +571,7 @@ static void asm_setupresult(ASMState *as, IRIns *ir, const CCallInfo *ci)
571 lua_assert(!irt_ispri(ir->t)); 571 lua_assert(!irt_ispri(ir->t));
572 ra_destreg(as, ir, RID_RET); 572 ra_destreg(as, ir, RID_RET);
573 } 573 }
574 } else if (LJ_32 && irt_isfp(ir->t)) { 574 } else if (LJ_32 && irt_isfp(ir->t) && !(ci->flags & CCI_CASTU64)) {
575 emit_x87op(as, XI_FPOP); /* Pop unused result from x87 st0. */ 575 emit_x87op(as, XI_FPOP); /* Pop unused result from x87 st0. */
576 } 576 }
577} 577}