mark all vfp registers as used when done.

To avoid assigning registers the would fit, once arguments have been on
the stack, we mark all registers as used once we do not find a free
register for the first time.
This commit is contained in:
David Schneider
2013-11-12 19:49:01 +01:00
parent 2f5b7ce545
commit 37067ec503

View File

@@ -897,6 +897,9 @@ static void place_vfp_arg (ffi_cif *cif, ffi_type *t)
return; return;
next_reg: ; next_reg: ;
} }
// done mark all regs as used
cif->vfp_reg_free = 16;
cif->vfp_used = 0xFFFF;
} }
static void layout_vfp_args (ffi_cif *cif) static void layout_vfp_args (ffi_cif *cif)