summary refs log tree commit diff
path: root/lisc/ssa.c
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/ssa.c')
-rw-r--r--lisc/ssa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/ssa.c b/lisc/ssa.c
index 18178c3..269406b 100644
--- a/lisc/ssa.c
+++ b/lisc/ssa.c
@@ -282,7 +282,7 @@ fillfron(Fn *fn)
 static Ref
 refindex(int t, Fn *fn)
 {
-	return newtmp(fn->tmp[t].name, fn);
+	return newtmp(fn->tmp[t].name, fn->tmp[t].cls, fn);
 }
 
 static void