projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c38807c
)
[project @ 1999-06-23 10:44:59 by simonmar]
author
simonmar
<unknown>
Wed, 23 Jun 1999 10:44:59 +0000
(10:44 +0000)
committer
simonmar
<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
patch
|
blob
|
history
diff --git
a/ghc/compiler/utils/PrimPacked.lhs
b/ghc/compiler/utils/PrimPacked.lhs
index
153ff5d
..
652aaab
100644
(file)
--- 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,