Merge branch 'master' into v2.1

This commit is contained in:
Mike Pall 2014-11-28 20:21:35 +01:00
commit 8cc89332ff

View File

@ -1721,6 +1721,11 @@ static void asm_head_side(ASMState *as)
int pass3 = 0;
IRRef i;
if (as->snapno && as->topslot > as->parent->topslot) {
/* Force snap #0 alloc to prevent register overwrite in stack check. */
as->snapno = 0;
asm_snap_alloc(as);
}
allow = asm_head_side_base(as, irp, allow);
/* Scan all parent SLOADs and collect register dependencies. */