specialize vdup into idup

This commit is contained in:
Quentin Carbonneaux 2015-10-06 13:22:46 -04:00
parent ce72ad0ecd
commit 1f7acbd88f
6 changed files with 9 additions and 9 deletions

View file

@ -430,7 +430,7 @@ rega(Fn *fn)
fn->nblk++;
sprintf(b1->name, "%s_%s", b->name, s->name);
b1->nins = curi - insb;
vdup(&b1->ins, insb, b1->nins * sizeof(Ins));
idup(&b1->ins, insb, b1->nins);
b1->jmp.type = JJmp;
b1->s1 = s;
**ps = b1;