From b75c211dbfa47f5439ebd4b02e90e4db40b3f15a Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Mon, 22 Feb 2016 15:14:21 -0500 Subject: fix buggy name changes in isel --- lisc/isel.c | 4 ++-- 1 file 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}; -- cgit 1.4.1