diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-22 15:14:21 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-22 15:14:28 -0500 |
commit | b75c211dbfa47f5439ebd4b02e90e4db40b3f15a (patch) | |
tree | da515ff04ebe13741e868ad03c56783cedd4d423 /lisc | |
parent | b7b430e5783e0aabf3001ee0bd664e289b91156e (diff) | |
download | roux-b75c211dbfa47f5439ebd4b02e90e4db40b3f15a.tar.gz |
fix buggy name changes in isel
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/isel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/isel.c b/lisc/isel.c index 1f0df4e..290ce95 100644 --- a/lisc/isel.c +++ b/lisc/isel.c @@ -678,9 +678,9 @@ selpar(Fn *fn, Ins *i0, Ins *i1) a->cls[0] = r.val; if (a->size > 8) { r1 = rarg(a->cls[1], &ni, &ns); - r1 = newtmp("isel", fn); + r = newtmp("isel", fn); *curi++ = (Ins){OCopy, r, {r1}, Kl}; - a->cls[1] = r1.val; + a->cls[1] = r.val; } } else *curi++ = (Ins){OCopy, i->to, {r1}, i->cls}; |