diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-11-23 12:55:59 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-11-23 12:55:59 -0500 |
commit | 8874fe7fc4e0bb1cef6e9a7409826aae7a00c1e9 (patch) | |
tree | 945f5564eed9b49b1edc98a8c7cf0e9484c5d994 | |
parent | 86f520a1f11561d0db5e1c540f3ace2f2bd8c376 (diff) | |
download | roux-8874fe7fc4e0bb1cef6e9a7409826aae7a00c1e9.tar.gz |
Tmp.phi must not be 0 for temporaries in phis
-rw-r--r-- | lisc/live.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |