From 40dea1279d4d7940bfdfd6611939b8ec3588501c Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 23 Jun 1999 10:44:59 +0000 Subject: [PATCH] [project @ 1999-06-23 10:44:59 by simonmar] Don't inline strLength, it causes gcc to run out of registers. --- ghc/compiler/utils/PrimPacked.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/compiler/utils/PrimPacked.lhs b/ghc/compiler/utils/PrimPacked.lhs index 153ff5d..652aaab 100644 --- a/ghc/compiler/utils/PrimPacked.lhs +++ b/ghc/compiler/utils/PrimPacked.lhs @@ -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, -- 1.7.10.4