From 33fe5637c5b75910aaf9ddab94d4b8e2886f8d45 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sun, 26 Jul 2015 17:21:58 -0400 Subject: initiate work on reg allocation --- lisc/lisc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lisc/lisc.h') 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 *); -- cgit 1.4.1