import Monad ( when )
import Maybe ( isJust, fromJust )
import IO
+
+import MkExternalCore ( emitExternalCore )
\end{code}
(pcs_ch, errs_found, (recomp_reqd, maybe_checked_iface))
<- _scc_ "checkOldIface"
- checkOldIface ghci_mode dflags hit hst pcs
- (unJust "hscMain" (ml_hi_file location))
+ checkOldIface ghci_mode dflags hit hst pcs (ml_hi_file location)
source_unchanged maybe_old_iface;
if errs_found then
-- tidy_details
-- new_iface
+ ; emitExternalCore dflags new_iface tidy_details
-------------------
-- PREPARE FOR CODE GENERATION
-------------------
where
stgBindPairs (StgNonRec _ b r) = [(b,r)]
stgBindPairs (StgRec _ prs) = prs
+
+
\end{code}