wip on new stack slots (emit, spill)

This commit is contained in:
Quentin Carbonneaux 2015-09-29 22:25:49 -04:00
parent ae158a5c40
commit e2174da2f1
6 changed files with 59 additions and 35 deletions

View file

@ -44,7 +44,7 @@ enum Reg {
Tmp0, /* first non-reg temporary */
NReg = R12 - RAX + 1,
NReg = RDX - RAX + 1,
NRSave = 9,
NRClob = 5,
};
@ -249,7 +249,7 @@ struct Fn {
int retty;
Blk **rpo;
ulong reg;
int stk0, stk1;
int slot;
char name[NString];
};