diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-08-18 19:11:48 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:32 -0400 |
commit | 6f09869ea139782fd97e80182a0645891bf548d5 (patch) | |
tree | 1de16ac33bbcbefaf64f572ead798cd5e4e3f023 /lisc/lisc.h | |
parent | 627e45e330d44c55a8dcd8dfe8ebe1b3b091ef9e (diff) | |
download | roux-6f09869ea139782fd97e80182a0645891bf548d5.tar.gz |
move spill and emit to the new slot system
In emit, I worked a little to make sure that framesz works when we change the size of the svec array (if we need more alignments).
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r-- | lisc/lisc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h index a70c7a5..ce32bb5 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -58,7 +58,7 @@ enum Reg { Tmp0, /* first non-reg temporary */ - NReg = R11 - RAX + 1 + NReg = RDX - RAX + 1 }; #define RWORD(r) (r + (EAX-RAX)) @@ -244,7 +244,7 @@ struct Fn { int ncon; int nblk; Blk **rpo; - int slot[3]; + int svec[3]; }; @@ -269,7 +269,7 @@ void ssafix(Fn *, int); void filllive(Fn *); /* isel.c */ -int slot_(int, int, Fn *); +int slota(int, int, int *); void isel(Fn *); /* spill.c */ |