summaryrefslogtreecommitdiff
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-20 23:25:19 -0600
commitc6322eebea61dd29d0dab698cb89334596851b9d (patch)
tree024af08fb9680b7533e639cbc29cde6d53868ea9
parentd49f1537714d82df16ca1611d996032b428b5581 (diff)
downloadhaskell-c6322eebea61dd29d0dab698cb89334596851b9d.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>
-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