From b2d9c2b8e971a63de1a5be36e01068f3bc03f054 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 11 May 2019 22:49:50 +0200 Subject: Liveness analysis --- Lower.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lower.hs') diff --git a/Lower.hs b/Lower.hs index 8fbe0da..44369b3 100644 --- a/Lower.hs +++ b/Lower.hs @@ -1,5 +1,6 @@ {-# LANGUAGE TupleSections, MultiWayIf, GeneralizedNewtypeDeriving #-} -module Lower(lowerIR) where +module Lower(lowerIR, + AsmProgram'(..), AsmInstr'(..), ARef(..), Immediate(..), Label(..), CCond(..)) where import AST (Name) import Control.Monad.State.Strict @@ -152,7 +153,6 @@ genTemp = liftM AReg genId -- - R15 = stack pointer -- - R14 = link register -- - R13 = return register --- - R12 = administration-temporary (TODO can this be eliminated) -- - Further registers: available for allocation -- R13 and R14 can also be used as administration-temporary if they are not -- otherwise occupied. -- cgit v1.2.3-54-g00ecf