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 5546190..96d6a34 100644
--- a/lisc/ssa.c
+++ b/lisc/ssa.c
@@ -191,7 +191,7 @@ ssafix(Fn *f, int t)
 	if (!f->sym)
 		diag("ssafix: out of memory");
 	for (t1=t0; t0<f->ntmp; t0++) {
-		f->sym[t0].type = STmp;
+		f->sym[t0] = f->sym[t];
 		snprintf(f->sym[t0].name, NString, "%s%d",
 			f->sym[t].name, t0-t1);
 	}