X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fspecialise%2FSpecConstr.lhs;h=6622764ca91693b95000fab97eaab630107b32b0;hb=0171936c9092666692c69a7f93fa75af976330cb;hp=b5dde8d6a2af9ef1b9a9a987bd8dc182e72e8765;hpb=51666a19707f4ca34eec28a14bffbbc7d642e647;p=ghc-hetmet.git diff --git a/ghc/compiler/specialise/SpecConstr.lhs b/ghc/compiler/specialise/SpecConstr.lhs index b5dde8d..6622764 100644 --- a/ghc/compiler/specialise/SpecConstr.lhs +++ b/ghc/compiler/specialise/SpecConstr.lhs @@ -492,7 +492,6 @@ spec_one :: ScEnv spec_one env fn rhs (pats, rule_number) = getUniqueUs `thenUs` \ spec_uniq -> - getUniqueUs `thenUs` \ hack_uniq -> let fn_name = idName fn fn_loc = nameSrcLoc fn_name @@ -562,7 +561,7 @@ argToPat env us (Var v) -- Don't uniqify existing vars, = (us, Var v) -- so that we can spot when we pass them twice argToPat env us arg - = (us1, Var (mkSysLocal SLIT("sc") (uniqFromSupply us2) (exprType arg))) + = (us1, Var (mkSysLocal FSLIT("sc") (uniqFromSupply us2) (exprType arg))) where (us1,us2) = splitUniqSupply us