use argument array for all instructions

This commit is contained in:
Quentin Carbonneaux 2015-07-15 13:23:37 -04:00
parent 60f60425cd
commit 7e53000a1f
3 changed files with 19 additions and 22 deletions

View file

@ -74,8 +74,7 @@ enum {
struct Ins {
short op;
Ref to;
Ref l;
Ref r;
Ref arg[2];
};
struct Phi {
@ -111,8 +110,7 @@ struct Sym {
STmp,
} type;
char name[NString];
Blk *blk;
int pos;
int ndef, nuse;
};
struct Fn {