Commit 5fcfdb3b authored by Ian Lynagh's avatar Ian Lynagh

Fix the unregisterised build

parent d52cb8fd
...@@ -144,10 +144,10 @@ outputC dflags filenm flat_absC packages ...@@ -144,10 +144,10 @@ outputC dflags filenm flat_absC packages
\begin{code} \begin{code}
outputAsm :: DynFlags -> FilePath -> [RawCmm] -> IO () outputAsm :: DynFlags -> FilePath -> [RawCmm] -> IO ()
outputAsm dflags filenm flat_absC
#ifndef OMIT_NATIVE_CODEGEN #ifndef OMIT_NATIVE_CODEGEN
outputAsm dflags filenm flat_absC
= do ncg_uniqs <- mkSplitUniqSupply 'n' = do ncg_uniqs <- mkSplitUniqSupply 'n'
{-# SCC "OutputAsm" #-} doOutput filenm $ {-# SCC "OutputAsm" #-} doOutput filenm $
...@@ -157,6 +157,7 @@ outputAsm dflags filenm flat_absC ...@@ -157,6 +157,7 @@ outputAsm dflags filenm flat_absC
#else /* OMIT_NATIVE_CODEGEN */ #else /* OMIT_NATIVE_CODEGEN */
outputAsm _ _ _
= pprPanic "This compiler was built without a native code generator" = pprPanic "This compiler was built without a native code generator"
(text "Use -fvia-C instead") (text "Use -fvia-C instead")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment