ARM: Fix IR splitting for softfp XLOAD.

This commit is contained in:
Mike Pall
2011-11-11 01:07:34 +01:00
parent 4bcf2b40fe
commit fa1675baad
2 changed files with 15 additions and 5 deletions

View File

@@ -809,8 +809,10 @@ static void asm_snap_alloc(ASMState *as)
IRRef ref = snap_ref(sn);
if (!irref_isk(ref)) {
asm_snap_alloc1(as, ref);
if (LJ_SOFTFP && (sn & SNAP_SOFTFPNUM))
if (LJ_SOFTFP && (sn & SNAP_SOFTFPNUM)) {
lua_assert(irt_type(IR(ref+1)->t) == IRT_SOFTFP);
asm_snap_alloc1(as, ref+1);
}
}
}
}