initiate work on reg allocation

This commit is contained in:
Quentin Carbonneaux 2015-07-26 17:21:58 -04:00
parent 8aa8070248
commit 33fe5637c5
3 changed files with 216 additions and 1 deletions

View file

@ -153,6 +153,7 @@ struct Sym {
uint ndef, nuse;
uint cost;
uint spill;
int hint;
};
struct Fn {
@ -191,3 +192,6 @@ void isel(Fn *);
int bcnt(Bits *);
void fillcost(Fn *);
void spill(Fn *);
/* rega.c */
void rega(Fn *);