[commit: ghc] wip/llvm-3.6: Kill unused binding (3ffd3ac)

git at git.haskell.org git at git.haskell.org
Tue Jan 20 16:54:52 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/llvm-3.6
Link       : http://ghc.haskell.org/trac/ghc/changeset/3ffd3ac4c068dfc9cf8491b3c6e87c510adcf753/ghc

>---------------------------------------------------------------

commit 3ffd3ac4c068dfc9cf8491b3c6e87c510adcf753
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Fri Nov 28 12:00:47 2014 -0500

    Kill unused binding


>---------------------------------------------------------------

3ffd3ac4c068dfc9cf8491b3c6e87c510adcf753
 compiler/llvmGen/LlvmCodeGen/Ppr.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/llvmGen/LlvmCodeGen/Ppr.hs b/compiler/llvmGen/LlvmCodeGen/Ppr.hs
index ecd1d3c..fdc1c3a 100644
--- a/compiler/llvmGen/LlvmCodeGen/Ppr.hs
+++ b/compiler/llvmGen/LlvmCodeGen/Ppr.hs
@@ -117,7 +117,7 @@ pprLlvmCmmDecl (CmmProc mb_info entry_lbl live (ListGraph blks))
        -- generate the info table
        prefix <- case mb_info of
                      Nothing -> return Nothing
-                     Just (Statics info_lbl statics) -> do
+                     Just (Statics _ statics) -> do
                        infoStatics <- mapM genData statics
                        let infoTy = LMStruct $ map getStatType infoStatics
                        return $ Just $ LMStaticStruc infoStatics infoTy



More information about the ghc-commits mailing list