X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FCmmCPSZ.hs;fp=compiler%2Fcmm%2FCmmCPSZ.hs;h=aac9372f94931e656f08cf868d5d23d721f002d8;hb=5892af0e08fdb890b5a0b9a64346d9f7773a6ed8;hp=008fa5d46c975bd080aceb8687ebff4293e2da00;hpb=df54e4b621b1d2a8e30b01b3e93494a515d09f48;p=ghc-hetmet.git diff --git a/compiler/cmm/CmmCPSZ.hs b/compiler/cmm/CmmCPSZ.hs index 008fa5d..aac9372 100644 --- a/compiler/cmm/CmmCPSZ.hs +++ b/compiler/cmm/CmmCPSZ.hs @@ -47,8 +47,8 @@ protoCmmCPSZ :: HscEnv -- Compilation env including -> CmmZ -- Input C-- with Procedures -> IO (TopSRT, [CmmZ]) -- Output CPS transformed C-- protoCmmCPSZ hsc_env (topSRT, rst) (Cmm tops) - | not (dopt Opt_RunCPSZ (hsc_dflags hsc_env)) - = return (topSRT, Cmm tops : rst) -- Only if -frun-cps + | not (dopt Opt_TryNewCodeGen (hsc_dflags hsc_env)) + = return (topSRT, Cmm tops : rst) -- Only if -fnew-codegen | otherwise = do let dflags = hsc_dflags hsc_env showPass dflags "CPSZ"