qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit d2bcd3beeb8f24dc0241e58648792a911a325fff
parent 7bf505605f025a187916f13385de048b4d15462a
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Thu, 28 Jan 2016 15:12:17 -0500

fix non-updated limit() call in spiller

Diffstat:
Mlisc/spill.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisc/spill.c b/lisc/spill.c @@ -312,7 +312,7 @@ dopm(Blk *b, Ins *i, Bits *v) r |= BIT(rsave[n]); v->t[0] |= calluse(*(i-1), 0); } else { - limit(v, NReg, 0); + limit2(v, 0, 0, 0); r = v->t[0]; } sethint(v, r);