[project @ 1999-06-23 10:44:59 by simonmar]
authorsimonmar <unknown>
Wed, 23 Jun 1999 10:44:59 +0000 (10:44 +0000)
committersimonmar <unknown>
Wed, 23 Jun 1999 10:44:59 +0000 (10:44 +0000)
Don't inline strLength, it causes gcc to run out of registers.

ghc/compiler/utils/PrimPacked.lhs

index 153ff5d..652aaab 100644 (file)
@@ -62,7 +62,7 @@ strLength a =
     _ccall_ strlen a  >>= \ len@(I# _) ->
     return len
  )
-
+{-# NOINLINE strLength #-}
 \end{code}
 
 Copying a char string prefix into a byte array,