summaryrefslogtreecommitdiff
path: root/compiler/llvmGen/LlvmCodeGen/Ppr.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2018-11-20 14:35:09 +0100
committerBen Gamari <ben@smart-cactus.org>2018-11-22 16:02:22 -0500
commitd0fc76189b9b709378849d071814342983c3a5df (patch)
treef70f6c87e9fa6da993e9f2b671fa22a3f2f92d67 /compiler/llvmGen/LlvmCodeGen/Ppr.hs
parent35a897782b6b0a252da7fdcf4921198ad4e1d96c (diff)
downloadhaskell-d0fc76189b9b709378849d071814342983c3a5df.tar.gz
llvmGen: Eliminate duplicate definition
remove local
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 2a8340bcf9..c1378aa1fd 100644
--- a/compiler/llvmGen/LlvmCodeGen/Ppr.hs
+++ b/compiler/llvmGen/LlvmCodeGen/Ppr.hs
@@ -89,7 +89,7 @@ pprLlvmCmmDecl (CmmProc mb_info entry_lbl live (ListGraph blks))
Alias
alias = LMGlobal funVar
(Just $ LMBitc (LMStaticPointer defVar)
- (LMPointer $ LMInt 8))
+ i8Ptr)
return (ppLlvmGlobal alias $+$ ppLlvmFunction fun', [])