From 8874fe7fc4e0bb1cef6e9a7409826aae7a00c1e9 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Mon, 23 Nov 2015 12:55:59 -0500 Subject: Tmp.phi must not be 0 for temporaries in phis --- lisc/live.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisc/live.c') diff --git a/lisc/live.c b/lisc/live.c index 053e01a..f923268 100644 --- a/lisc/live.c +++ b/lisc/live.c @@ -40,10 +40,10 @@ phifix(int t1, short *phi, Tmp *tmp) t2 = phi[t]; if (t2 && t2 != t1) { if (t != t1) { - tmp[t1].phi = 0; + tmp[t1].phi = t1; t = t1; } else { - tmp[t2].phi = 0; + tmp[t2].phi = t2; phi[t2] = t2; } } -- cgit 1.4.1