summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLemmih <lemmih@gmail.com>2006-03-04 18:54:35 +0000
committerLemmih <lemmih@gmail.com>2006-03-04 18:54:35 +0000
commit674689e20127e199e76cd19dd2f81dc5c2346bac (patch)
tree1889e27170d3124664add13c0aae03e460ae866b
parentf1fdf769b432ca383b2033f5c973494905d225d1 (diff)
downloadhaskell-674689e20127e199e76cd19dd2f81dc5c2346bac.tar.gz
FIXME's.
-rw-r--r--ghc/compiler/main/HscMain.lhs5
1 files changed, 5 insertions, 0 deletions
diff --git a/ghc/compiler/main/HscMain.lhs b/ghc/compiler/main/HscMain.lhs
index 124d9f0803..95ea74ebfc 100644
--- a/ghc/compiler/main/HscMain.lhs
+++ b/ghc/compiler/main/HscMain.lhs
@@ -186,6 +186,8 @@ type FrontEnd core = HscEnv -> ModSummary -> Maybe (Int,Int) -> IO (Maybe core)
type BackEnd core prepCore = HscEnv -> ModSummary -> Maybe ModIface -> core -> IO prepCore
type CodeGen prepCore result = HscEnv -> ModSummary -> prepCore -> IO result
+-- FIXME: The old interface and module index are only using in 'make' and
+-- 'interactive' mode. They should be removed from 'oneshot' mode.
type Compiler result = HscEnv
-> ModSummary
-> Bool -- True <=> source unchanged
@@ -334,6 +336,7 @@ hscCoreFrontEnd hsc_env mod_summary mb_mod_index = do {
hscFileFrontEnd :: FrontEnd ModGuts
hscFileFrontEnd hsc_env mod_summary mb_mod_index = do {
+-- FIXME: Move 'DISPLAY PROGRESS MESSAGE' out of the frontend.
-------------------
-- DISPLAY PROGRESS MESSAGE
-------------------
@@ -383,6 +386,8 @@ hscFileFrontEnd hsc_env mod_summary mb_mod_index = do {
-- BackEnds
--------------------------------------------------------------
+-- FIXME: Rename backend to simplifier, and codegen to backend.
+
hscNewBootBackEnd :: BackEnd ModGuts (HscStatus, ModIface, ModDetails)
hscNewBootBackEnd hsc_env mod_summary maybe_old_iface ds_result
= do details <- mkBootModDetails hsc_env ds_result