X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FbasicTypes%2FName.lhs;h=fcb4ecfcf021ca6b5701587c4bae8d38a04737fd;hb=ca5a4a480d10d61e5b7a52eb4d556e8b8c33e69d;hp=2a44651a5dd996a27d9c1e80157fc9ed969a303c;hpb=f01a8e8c9c53bfb5ab3393ed3457ebf25390efa1;p=ghc-hetmet.git diff --git a/ghc/compiler/basicTypes/Name.lhs b/ghc/compiler/basicTypes/Name.lhs index 2a44651..fcb4ecf 100644 --- a/ghc/compiler/basicTypes/Name.lhs +++ b/ghc/compiler/basicTypes/Name.lhs @@ -350,12 +350,6 @@ exportFlagOn NotExported = False exportFlagOn _ = True isExported a = exportFlagOn (getExportFlag a) - -#ifdef USE_ATTACK_PRAGMAS -{-# SPECIALIZE isExported :: Class -> Bool #-} -{-# SPECIALIZE isExported :: Id -> Bool #-} -{-# SPECIALIZE isExported :: TyCon -> Bool #-} -#endif \end{code} %************************************************************************ @@ -409,12 +403,6 @@ comparison.] \begin{code} a `ltLexical` b = origName a < origName b - -#ifdef USE_ATTACK_PRAGMAS -{-# SPECIALIZE ltLexical :: Class -> Class -> Bool #-} -{-# SPECIALIZE ltLexical :: Id -> Id -> Bool #-} -{-# SPECIALIZE ltLexical :: TyCon -> TyCon -> Bool #-} -#endif \end{code} These functions test strings to see if they fit the lexical categories @@ -502,11 +490,4 @@ pprNonSym sty var = if isSymLexeme var then ppParens (ppr sty var) else ppr sty var - -#ifdef USE_ATTACK_PRAGMAS -{-# SPECIALIZE isSymLexeme :: Id -> Bool #-} -{-# SPECIALIZE pprNonSym :: PprStyle -> Id -> Pretty #-} -{-# SPECIALIZE pprNonSym :: PprStyle -> TyCon -> Pretty #-} -{-# SPECIALIZE pprSym :: PprStyle -> Id -> Pretty #-} -#endif \end{code}