use new vector functions instead of reallocs

This commit is contained in:
Quentin Carbonneaux 2015-10-06 20:42:54 -04:00
parent 1f61873799
commit 99ad19546d
5 changed files with 106 additions and 60 deletions

View file

@ -279,6 +279,10 @@ void emiti(Ins);
int bcnt(Bits *);
void idup(Ins **, Ins *, ulong);
Ins *icpy(Ins *, Ins *, ulong);
void *valloc(ulong, size_t);
void vgrow(void *, ulong);
Ref newtmp(char *, Fn *);
Ref getcon(int64_t, Fn *);
/* parse.c */
extern OpDesc opdesc[NOp];