initiate work on reg allocation
This commit is contained in:
parent
8aa8070248
commit
33fe5637c5
3 changed files with 216 additions and 1 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue