X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FsimplCore%2FSAT.lhs;h=3022f3c5b36344868edffb06c28e0d3b7acbcb34;hb=3101fbb16ea1f68f4c836084717141a9e29f9563;hp=1a85af96f0f55f5b257461dd39b67f6064f6e3fa;hpb=31478ab93794cd2e0e2a389d76caf43a65c8c3aa;p=ghc-hetmet.git diff --git a/compiler/simplCore/SAT.lhs b/compiler/simplCore/SAT.lhs index 1a85af9..3022f3c 100644 --- a/compiler/simplCore/SAT.lhs +++ b/compiler/simplCore/SAT.lhs @@ -292,7 +292,7 @@ getSATInfo var = projectFromEnv $ \env -> lookupVarEnv (idSATInfo env) var newSATName :: Id -> Type -> SatM Id newSATName _ ty - = SatM $ \us env -> (mkSysLocal FSLIT("$sat") (uniqFromSupply us) ty, env) + = SatM $ \us env -> (mkSysLocal (fsLit "$sat") (uniqFromSupply us) ty, env) getArgLists :: CoreExpr -> ([Staticness Type], [Staticness Id]) getArgLists expr @@ -377,7 +377,7 @@ saTransform binder rhs = do -- top-level or exported somehow.) -- A better fix is to use binder directly but with the TopLevel -- tag (or Exported tag) modified. - fake_binder = mkSysLocal FSLIT("sat") + fake_binder = mkSysLocal (fsLit "sat") (getUnique binder) (idType binder) rec_body = mkLams non_static_args