summaryrefslogtreecommitdiff
path: root/src/lj_asm_arm.h
diff options
context:
space:
mode:
authorMike Pall <mike>2016-02-10 18:53:42 +0100
committerMike Pall <mike>2016-02-10 18:53:42 +0100
commit6cb38f788f58d642d1b9198aace947e00f1dc2d8 (patch)
treeeedfca0787cee29f394052d73ccc09f50dffae28 /src/lj_asm_arm.h
parentf547a1425e9db10eec59d586c94ba78b897497f6 (diff)
parenta44388967763d0f7f5f78dfd71703437afa69fc0 (diff)
downloadluajit-6cb38f788f58d642d1b9198aace947e00f1dc2d8.tar.gz
luajit-6cb38f788f58d642d1b9198aace947e00f1dc2d8.tar.bz2
luajit-6cb38f788f58d642d1b9198aace947e00f1dc2d8.zip
Merge branch 'master' into v2.1
Diffstat (limited to 'src/lj_asm_arm.h')
-rw-r--r--src/lj_asm_arm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h
index c129dd4e..557626e4 100644
--- a/src/lj_asm_arm.h
+++ b/src/lj_asm_arm.h
@@ -426,7 +426,7 @@ static void asm_gencall(ASMState *as, const CCallInfo *ci, IRRef *args)
426static void asm_setupresult(ASMState *as, IRIns *ir, const CCallInfo *ci) 426static void asm_setupresult(ASMState *as, IRIns *ir, const CCallInfo *ci)
427{ 427{
428 RegSet drop = RSET_SCRATCH; 428 RegSet drop = RSET_SCRATCH;
429 int hiop = ((ir+1)->o == IR_HIOP); 429 int hiop = ((ir+1)->o == IR_HIOP && !irt_isnil((ir+1)->t));
430 if (ra_hasreg(ir->r)) 430 if (ra_hasreg(ir->r))
431 rset_clear(drop, ir->r); /* Dest reg handled below. */ 431 rset_clear(drop, ir->r); /* Dest reg handled below. */
432 if (hiop && ra_hasreg((ir+1)->r)) 432 if (hiop && ra_hasreg((ir+1)->r))