projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d17dea5
)
[project @ 2000-03-09 14:18:12 by panne]
author
panne
<unknown>
Thu, 9 Mar 2000 14:18:22 +0000
(14:18 +0000)
committer
panne
<unknown>
Thu, 9 Mar 2000 14:18:22 +0000
(14:18 +0000)
Added some NOINLINE pragmas for unsafePerformIO/newIORef hacks.
ghc/compiler/prelude/ThinAir.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/prelude/ThinAir.lhs
b/ghc/compiler/prelude/ThinAir.lhs
index
c935113
..
62ee2d2
100644
(file)
--- a/
ghc/compiler/prelude/ThinAir.lhs
+++ b/
ghc/compiler/prelude/ThinAir.lhs
@@
-92,6
+92,7
@@
buildId = lookupThinAirId buildIdKey
\end{code}
\begin{code}
\end{code}
\begin{code}
+{-# NOINLINE thinAirIdMapRef #-}
thinAirIdMapRef :: IORef (UniqFM Id)
thinAirIdMapRef = unsafePerformIO (newIORef (panic "thinAirIdMap: still empty"))
thinAirIdMapRef :: IORef (UniqFM Id)
thinAirIdMapRef = unsafePerformIO (newIORef (panic "thinAirIdMap: still empty"))