summaryrefslogtreecommitdiff
path: root/compiler/llvmGen/LlvmCodeGen.hs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-11-12 12:02:44 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-11-12 15:20:31 +0000
commit929578081e8b2b0f14e9518329f516eebf4315ce (patch)
treee83ef5975626587dbd1e7b62e0047c7fccd209ae /compiler/llvmGen/LlvmCodeGen.hs
parentd92bd17ffd8715f77fd49de0fed6e39c8d0ec28b (diff)
downloadhaskell-929578081e8b2b0f14e9518329f516eebf4315ce.tar.gz
Fix warnings
Diffstat (limited to 'compiler/llvmGen/LlvmCodeGen.hs')
-rw-r--r--compiler/llvmGen/LlvmCodeGen.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/llvmGen/LlvmCodeGen.hs b/compiler/llvmGen/LlvmCodeGen.hs
index 241e52e392..4b8455f2be 100644
--- a/compiler/llvmGen/LlvmCodeGen.hs
+++ b/compiler/llvmGen/LlvmCodeGen.hs
@@ -42,7 +42,7 @@ llvmCodeGen dflags h us cmms
(cdata,env) = {-# SCC "llvm_split" #-}
foldr split ([], initLlvmEnv dflags) cmm
split (CmmData s d' ) (d,e) = ((s,d'):d,e)
- split p@(CmmProc h l live g) (d,e) =
+ split (CmmProc h l live g) (d,e) =
let lbl = strCLabel_llvm env $
case mapLookup (g_entry g) h of
Nothing -> l