Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alexis King
GHC
Commits
674689e2
Commit
674689e2
authored
Mar 04, 2006
by
David Himmelstrup
Browse files
FIXME's.
parent
f1fdf769
Changes
1
Show whitespace changes
Inline
Side-by-side
ghc/compiler/main/HscMain.lhs
View file @
674689e2
...
@@ -186,6 +186,8 @@ type FrontEnd core = HscEnv -> ModSummary -> Maybe (Int,Int) -> IO (Maybe core)
...
@@ -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 BackEnd core prepCore = HscEnv -> ModSummary -> Maybe ModIface -> core -> IO prepCore
type CodeGen prepCore result = HscEnv -> ModSummary -> prepCore -> IO result
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
type Compiler result = HscEnv
-> ModSummary
-> ModSummary
-> Bool -- True <=> source unchanged
-> Bool -- True <=> source unchanged
...
@@ -334,6 +336,7 @@ hscCoreFrontEnd hsc_env mod_summary mb_mod_index = do {
...
@@ -334,6 +336,7 @@ hscCoreFrontEnd hsc_env mod_summary mb_mod_index = do {
hscFileFrontEnd :: FrontEnd ModGuts
hscFileFrontEnd :: FrontEnd ModGuts
hscFileFrontEnd hsc_env mod_summary mb_mod_index = do {
hscFileFrontEnd hsc_env mod_summary mb_mod_index = do {
-- FIXME: Move 'DISPLAY PROGRESS MESSAGE' out of the frontend.
-------------------
-------------------
-- DISPLAY PROGRESS MESSAGE
-- DISPLAY PROGRESS MESSAGE
-------------------
-------------------
...
@@ -383,6 +386,8 @@ hscFileFrontEnd hsc_env mod_summary mb_mod_index = do {
...
@@ -383,6 +386,8 @@ hscFileFrontEnd hsc_env mod_summary mb_mod_index = do {
-- BackEnds
-- BackEnds
--------------------------------------------------------------
--------------------------------------------------------------
-- FIXME: Rename backend to simplifier, and codegen to backend.
hscNewBootBackEnd :: BackEnd ModGuts (HscStatus, ModIface, ModDetails)
hscNewBootBackEnd :: BackEnd ModGuts (HscStatus, ModIface, ModDetails)
hscNewBootBackEnd hsc_env mod_summary maybe_old_iface ds_result
hscNewBootBackEnd hsc_env mod_summary maybe_old_iface ds_result
= do details <- mkBootModDetails hsc_env ds_result
= do details <- mkBootModDetails hsc_env ds_result
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment