[project @ 2001-12-10 14:05:06 by simonmar]
authorsimonmar <unknown>
Mon, 10 Dec 2001 14:05:06 +0000 (14:05 +0000)
committersimonmar <unknown>
Mon, 10 Dec 2001 14:05:06 +0000 (14:05 +0000)
Note that the final call to coreBindsSize is still necessary to
eliminate space leakage from the simplifier.

ghc/compiler/main/HscMain.lhs

index 58c41f7..40edb3c 100644 (file)
@@ -439,7 +439,9 @@ myCoreToStg dflags this_mod tidy_binds
       () <- coreBindsSize tidy_binds `seq` return ()
       -- TEMP: the above call zaps some space usage allocated by the
       -- simplifier, which for reasons I don't understand, persists
-      -- thoroughout code generation
+      -- thoroughout code generation -- JRS
+      --
+      -- This is still necessary. -- SDM (10 Dec 2001)
 
       stg_binds <- _scc_ "Core2Stg" 
             coreToStg dflags tidy_binds