spill: use stronger assertion for registers in use at start of function

This commit is contained in:
Michael Forney 2021-03-11 19:24:28 -08:00 committed by Quentin Carbonneaux
parent 097dc86c45
commit e0b94a3d6a
3 changed files with 6 additions and 2 deletions

View file

@ -423,6 +423,7 @@ selpar(Fn *fn, Ins *i0, Ins *i1)
curi = &insb[NIns];
cty = argsclass(i0, i1, ca, &env);
fn->reg = arm64_argregs(CALL(cty), 0);
il = 0;
t = tmp;