diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-06 13:22:46 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-06 13:22:46 -0400 |
commit | 1f7acbd88fe739798cc1fb83870690e88b5d04e9 (patch) | |
tree | 4c35a31510d9e852f7b5bb0266fc7bfc57b010d8 /lisc/spill.c | |
parent | ce72ad0ecdb43f6572c1febe8993d817f572f269 (diff) | |
download | roux-1f7acbd88fe739798cc1fb83870690e88b5d04e9.tar.gz |
specialize vdup into idup
Diffstat (limited to 'lisc/spill.c')
-rw-r--r-- | lisc/spill.c | 2 |
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 */ |