X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fmain%2FCodeOutput.lhs;h=0148ca4343ab3547d040a959aea4aed146b5cc0b;hb=7f24ae51ed36c5c0308a2d0de23e243f32a0043c;hp=8e4abbc9685d5cbdb61b89cff0032b5cbc343b78;hpb=5c67b7e313b2455ca65d5aa5970d86889145e97e;p=ghc-hetmet.git diff --git a/ghc/compiler/main/CodeOutput.lhs b/ghc/compiler/main/CodeOutput.lhs index 8e4abbc..0148ca4 100644 --- a/ghc/compiler/main/CodeOutput.lhs +++ b/ghc/compiler/main/CodeOutput.lhs @@ -61,11 +61,7 @@ codeOutput :: DynFlags -> IO (Bool{-stub_h_exists-}, Bool{-stub_c_exists-}) codeOutput dflags this_mod location foreign_stubs pkg_deps flat_abstractC - | HscNothing <- hscTarget dflags - -- We aren't interested in any code when HscNothing is our target. - = return (False, False) - | otherwise - = + = -- You can have C (c_output) or assembly-language (ncg_output), -- but not both. [Allowing for both gives a space leak on -- flat_abstractC. WDP 94/10]