projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2001-03-19 16:22:51 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
parser
/
Ctype.lhs
diff --git
a/ghc/compiler/parser/Ctype.lhs
b/ghc/compiler/parser/Ctype.lhs
index
adcaec2
..
4d9c600
100644
(file)
--- a/
ghc/compiler/parser/Ctype.lhs
+++ b/
ghc/compiler/parser/Ctype.lhs
@@
-35,6
+35,7
@@
The predicates below look costly, but aren't, GHC+GCC do a great job
at the big case below.
\begin{code}
+{-# INLINE is_ctype #-}
is_ctype :: Int -> Char# -> Bool
is_ctype mask c = (fromIntegral (charType (C# c)) .&. fromIntegral mask) /= (0::Int32)