summary refs log tree commit diff
path: root/lisc/spill.c
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/spill.c')
-rw-r--r--lisc/spill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/spill.c b/lisc/spill.c
index 1b11031..aae214d 100644
--- a/lisc/spill.c
+++ b/lisc/spill.c
@@ -402,7 +402,7 @@ spill(Fn *fn)
 		}
 		b->in = v;
 		b->nins = &insb[NIns] - curi;
-		vdup(&b->ins, curi, b->nins * sizeof(Ins));
+		idup(&b->ins, curi, b->nins);
 	}
 
 	/* align the locals to a 16 byte boundary */