projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d52cb8f
)
Fix the unregisterised build
author
Ian Lynagh
<igloo@earth.li>
Wed, 20 May 2009 22:10:46 +0000
(22:10 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 20 May 2009 22:10:46 +0000
(22:10 +0000)
compiler/main/CodeOutput.lhs
patch
|
blob
|
history
diff --git
a/compiler/main/CodeOutput.lhs
b/compiler/main/CodeOutput.lhs
index
d2d7c7f
..
3b45a38
100644
(file)
--- a/
compiler/main/CodeOutput.lhs
+++ b/
compiler/main/CodeOutput.lhs
@@
-144,10
+144,10
@@
outputC dflags filenm flat_absC packages
\begin{code}
outputAsm :: DynFlags -> FilePath -> [RawCmm] -> IO ()
-outputAsm dflags filenm flat_absC
#ifndef OMIT_NATIVE_CODEGEN
+outputAsm dflags filenm flat_absC
= do ncg_uniqs <- mkSplitUniqSupply 'n'
{-# SCC "OutputAsm" #-} doOutput filenm $
@@
-157,6
+157,7
@@
outputAsm dflags filenm flat_absC
#else /* OMIT_NATIVE_CODEGEN */
+outputAsm _ _ _
= pprPanic "This compiler was built without a native code generator"
(text "Use -fvia-C instead")