X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FsimplStg%2FSatStgRhs.lhs;fp=ghc%2Fcompiler%2FsimplStg%2FSatStgRhs.lhs;h=a61c2c3017d884793c1da0adfd859aa0b0b339d7;hb=7a3bd641457666e10d0a47be9f22762e03defbf0;hp=725bf48e654e608b566222bd42e1a4a78013fd2f;hpb=f65044d135ef61bee82a6c9767235f6780bdf00e;p=ghc-hetmet.git diff --git a/ghc/compiler/simplStg/SatStgRhs.lhs b/ghc/compiler/simplStg/SatStgRhs.lhs index 725bf48..a61c2c3 100644 --- a/ghc/compiler/simplStg/SatStgRhs.lhs +++ b/ghc/compiler/simplStg/SatStgRhs.lhs @@ -69,8 +69,7 @@ import Id ( idType, getIdArity, addIdArity, mkSysLocal, nullIdEnv, addOneToIdEnv, growIdEnvList, lookupIdEnv, SYN_IE(IdEnv) ) -import IdInfo ( arityMaybe ) -import SrcLoc ( mkUnknownSrcLoc ) +import SrcLoc ( noSrcLoc ) import Type ( splitSigmaTy, splitForAllTy, splitFunTyExpandingDicts ) import UniqSupply ( returnUs, thenUs, mapUs, getUnique, SYN_IE(UniqSM) ) import Util ( panic, assertPanic ) @@ -99,6 +98,10 @@ This pass \begin{code} satStgRhs :: [StgBinding] -> UniqSM [StgBinding] +satStgRhs = panic "satStgRhs" + +{- NUKED FOR NOW SLPJ Dec 96 + satStgRhs p = satProgram nullIdEnv p @@ -305,5 +308,7 @@ lookupVar env v = case lookupIdEnv env v of newName :: Type -> UniqSM Id newName ut = getUnique `thenUs` \ uniq -> - returnUs (mkSysLocal SLIT("sat") uniq ut mkUnknownSrcLoc) + returnUs (mkSysLocal SLIT("sat") uniq ut noSrcLoc) + +-} \end{code}