summary refs log tree commit diff
path: root/lisc/spill.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-06 13:22:46 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-06 13:22:46 -0400
commit1f7acbd88fe739798cc1fb83870690e88b5d04e9 (patch)
tree4c35a31510d9e852f7b5bb0266fc7bfc57b010d8 /lisc/spill.c
parentce72ad0ecdb43f6572c1febe8993d817f572f269 (diff)
downloadroux-1f7acbd88fe739798cc1fb83870690e88b5d04e9.tar.gz
specialize vdup into idup
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 */