Commit 4343d5af authored by Gabor Greif's avatar Gabor Greif 💬

another minor refactoring

parent 691aa715
......@@ -80,11 +80,11 @@ ppLlvmGlobal (LMGlobal var@(LMGlobalVar _ _ link x a c) dat) =
-- Position of linkage is different for aliases.
const = case c of
Global -> text "global"
Constant -> text "constant"
Alias -> text "alias"
Global -> "global"
Constant -> "constant"
Alias -> "alias"
in ppAssignment var $ ppr link <+> const <+> rhs <> sect <> align
in ppAssignment var $ ppr link <+> text const <+> rhs <> sect <> align
$+$ newLine
ppLlvmGlobal (LMGlobal var val) = sdocWithDynFlags $ \dflags ->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment