summaryrefslogtreecommitdiff
path: root/compiler/llvmGen/LlvmCodeGen/Ppr.hs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2012-01-11 11:49:02 -0800
committerDavid Terei <davidterei@gmail.com>2012-01-12 00:48:04 -0800
commit234a526fbaec8ed38ab0a0cfe17ddb3b4ba30105 (patch)
tree112602b951ef47f83cb7a1c12ab28135dfae28e6 /compiler/llvmGen/LlvmCodeGen/Ppr.hs
parent0b5e57e035fd5d71074f528827f425914b8e18ad (diff)
downloadhaskell-234a526fbaec8ed38ab0a0cfe17ddb3b4ba30105.tar.gz
More improvements to llvm output style (#5750)
Diffstat (limited to 'compiler/llvmGen/LlvmCodeGen/Ppr.hs')
-rw-r--r--compiler/llvmGen/LlvmCodeGen/Ppr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/llvmGen/LlvmCodeGen/Ppr.hs b/compiler/llvmGen/LlvmCodeGen/Ppr.hs
index e0cebe5f21..c914bb2431 100644
--- a/compiler/llvmGen/LlvmCodeGen/Ppr.hs
+++ b/compiler/llvmGen/LlvmCodeGen/Ppr.hs
@@ -67,7 +67,7 @@ moduleLayout =
-- | Header code for LLVM modules
pprLlvmHeader :: Doc
pprLlvmHeader =
- moduleLayout $+$ ppLlvmFunctionDecls (map snd ghcInternalFunctions)
+ moduleLayout $+$ text "" $+$ ppLlvmFunctionDecls (map snd ghcInternalFunctions)
-- | Pretty print LLVM data code
pprLlvmData :: LlvmData -> Doc