diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-07-26 17:21:58 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:29 -0400 |
commit | 33fe5637c5b75910aaf9ddab94d4b8e2886f8d45 (patch) | |
tree | a9ed2f36aab19921e698192be25c39718c9b872d /lisc/lisc.h | |
parent | 8aa80702489901a7ba44ec1bb922a868ac3ca8e1 (diff) | |
download | roux-33fe5637c5b75910aaf9ddab94d4b8e2886f8d45.tar.gz |
initiate work on reg allocation
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r-- | lisc/lisc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h index ac5714a..95660cf 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -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 *); |