refactor duplicated code in main/HscMain
authorNorman Ramsey <nr@eecs.harvard.edu>
Fri, 7 Sep 2007 13:24:42 +0000 (13:24 +0000)
committerNorman Ramsey <nr@eecs.harvard.edu>
Fri, 7 Sep 2007 13:24:42 +0000 (13:24 +0000)
commite9d303dcabd6d6dd56660fef7a50f802cfdd5b57
treeb481f51b7001bddf08d034c89aba9949363e6669
parent95c5ef95d4a904d3564a62859833bce539ce5ea1
refactor duplicated code in main/HscMain
  I kept making mistakes because all the ZipCfg and CPS stuff
  was called from two different places (compiling Haskell and
  compiling Cmm).  Now it is called from a single place, and therefore
  successfully turned off by default.

  I still don't know why turning it on causes rts/Apply.cmm not to
  compile; that development is new since yesterday.
compiler/main/HscMain.lhs