From 01a8102c3d46732e9cc1a6974551ed4e12f7e173 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Wed, 24 Feb 2016 12:53:08 -0500 Subject: use default use/def counts in newtmp() This is paliative, before I check that all use counts in isel.c are correct. --- lisc/util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisc/util.c b/lisc/util.c index 4bbb4bd..4cacb11 100644 --- a/lisc/util.c +++ b/lisc/util.c @@ -200,6 +200,8 @@ newtmp(char *prfx, Fn *fn) vgrow(&fn->tmp, fn->ntmp); sprintf(fn->tmp[t].name, "%s%d", prfx, ++n); fn->tmp[t].slot = -1; + fn->tmp[t].nuse = +1; + fn->tmp[t].ndef = +1; return TMP(t); } -- cgit 1.4.1