[commit: ghc] wip/merge: Revert change to alias handling in ppLlvmGlobal introduced in d87fa34, which requires LLVM 3.6. (c6322ee)
git at git.haskell.org
git at git.haskell.org
Fri Nov 21 05:50:28 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/merge
Link : http://ghc.haskell.org/trac/ghc/changeset/c6322eebea61dd29d0dab698cb89334596851b9d/ghc
>---------------------------------------------------------------
commit c6322eebea61dd29d0dab698cb89334596851b9d
Author: Luke Iannini <lukexi at me.com>
Date: Thu Nov 20 21:10:57 2014 -0800
Revert change to alias handling in ppLlvmGlobal introduced in d87fa34, which requires LLVM 3.6.
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
c6322eebea61dd29d0dab698cb89334596851b9d
compiler/llvmGen/Llvm/PpLlvm.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/llvmGen/Llvm/PpLlvm.hs b/compiler/llvmGen/Llvm/PpLlvm.hs
index cdc407c..7307725 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
More information about the ghc-commits
mailing list