Remove some dead code from CgCase
authorIan Lynagh <igloo@earth.li>
Wed, 17 Dec 2008 18:47:55 +0000 (18:47 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 17 Dec 2008 18:47:55 +0000 (18:47 +0000)
compiler/codeGen/CgCase.lhs

index 859b220..cb426f5 100644 (file)
@@ -317,7 +317,6 @@ cgInlinePrimOp primop args bndr (AlgAlt tycon) live_in_alts alts
                -- Bind the default binder if necessary
                -- (avoiding it avoids the assignment)
                -- The deadness info is set by StgVarInfo
-       ; this_pkg <- getThisPackage
        ; whenC (not (isDeadBinder bndr))
                (do { tmp_reg <- bindNewToTemp bndr
                    ; stmtC (CmmAssign