summaryrefslogtreecommitdiff
path: root/Lower.hs
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2019-05-11 22:49:50 +0200
committertomsmeding <tom.smeding@gmail.com>2019-05-11 22:49:50 +0200
commitb2d9c2b8e971a63de1a5be36e01068f3bc03f054 (patch)
tree9b04cb8833dc2fd24a91356a280cf161f7af0f31 /Lower.hs
parentb6720c744c642048f93e04a3a2d4b6895d8b2c83 (diff)
Liveness analysislower-to-isa
Diffstat (limited to 'Lower.hs')
-rw-r--r--Lower.hs4
1 files changed, 2 insertions, 2 deletions
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.