From 4bcf2b40fed5390e3c36b14140c652c81a53765b Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Fri, 11 Nov 2011 01:05:37 +0100 Subject: [PATCH] ARM: Fix code generation for type-check only softfp [AHUV]LOAD. --- src/lj_asm_arm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h index 2d4b8bae..d4f1113a 100644 --- a/src/lj_asm_arm.h +++ b/src/lj_asm_arm.h @@ -851,7 +851,7 @@ static void asm_ahuvload(ASMState *as, IRIns *ir) rset_clear(allow, dest); } idx = asm_fuseahuref(as, ir->op1, &ofs, allow); - if (!hiop) { + if (!hiop || type == RID_NONE) { rset_clear(allow, idx); if (ofs < 256 && ra_hasreg(dest) && (dest & 1) == 0 && rset_test((as->freeset & allow), dest+1)) {