[project @ 2000-10-11 16:15:32 by sewardj]
authorsewardj <unknown>
Wed, 11 Oct 2000 16:15:32 +0000 (16:15 +0000)
committersewardj <unknown>
Wed, 11 Oct 2000 16:15:32 +0000 (16:15 +0000)
Reinstate emptyPCS.

ghc/compiler/ghci/CmCompile.lhs

index efab1ea..b61d1b5 100644 (file)
@@ -67,5 +67,13 @@ cmCompile finder summary old_iface hst pcs
                        pcs
                        []
                )
+
+-- should be somewhere else?
+emptyPCS :: IO PersistentCompilerState
+emptyPCS = return (PersistentCompilerState 
+                      { pcs_modmap = emptyFM,
+                        pcs_pit    = emptyPIT,
+                        pcs_pst    = emptyPST,
+                        pcs_hp     = emptyHoldingPen })
 \end{code}