summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorLuke Iannini <lukexi@me.com>2014-11-20 21:10:57 -0800
committerAustin Seipp <austin@well-typed.com>2014-11-21 00:25:03 -0600
commitfec1c3091b43f316ae7e683ed72b3ec175d9fd6e (patch)
tree41ef0b7b6603291d5443411e6b9d9862b3e2192e /compiler
parent27f9c74630da7ace758c357e6421cc35cb5bebfc (diff)
downloadhaskell-fec1c3091b43f316ae7e683ed72b3ec175d9fd6e.tar.gz
Revert change to alias handling in ppLlvmGlobal introduced in d87fa34, which requires LLVM 3.6.
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'compiler')
-rw-r--r--compiler/llvmGen/Llvm/PpLlvm.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/llvmGen/Llvm/PpLlvm.hs b/compiler/llvmGen/Llvm/PpLlvm.hs
index cdc407c152..73077257f8 100644
--- a/compiler/llvmGen/Llvm/PpLlvm.hs
+++ b/compiler/llvmGen/Llvm/PpLlvm.hs
@@ -80,7 +80,7 @@ ppLlvmGlobal (LMGlobal var@(LMGlobalVar _ _ link x a c) dat) =
const_link = case c of
Global -> ppr link <+> text "global"
Constant -> ppr link <+> text "constant"
- Alias -> ppr link <+> text "alias"
+ Alias -> text "alias" <+> ppr link
in ppAssignment var $ const_link <+> rhs <> sect <> align
$+$ newLine