summaryrefslogtreecommitdiff
path: root/ghc/compiler/main/LoopHack.lhc
blob: 7f4693697741d6aff0f608054eaf6cf5b48c9a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
This dreadful little .hc file accounts for the fact that,
when profiling, modules that import (say) IdLoop will
try to register the _regIdLoop cost centre.  But there is
no IdLoop module really, so it generates unresolved
references by the ton.  

What we do here is simply to satisfy the unresolved references

\begin{code}

STGFUN(_regUbiq){}
STGFUN(_regAbsCLoop){}
STGFUN(_regNcgLoop){}
STGFUN(_regDsLoop){}
STGFUN(_regIdLoop){}
STGFUN(_regPrelLoop){}
STGFUN(_regSmplLoop){}
STGFUN(_regTyLoop){}
STGFUN(_regHsLoop){}
STGFUN(_regSpecLoop){}
STGFUN(_regTcMLoop){}
STGFUN(_regTcLoop){}
STGFUN(_regRnLoop){}
STGFUN(_regCgLoop1){}
STGFUN(_regCgLoop2){}

\end{code}