Make it a fatal error to try to enter a PAP
authorSimon Marlow <simonmar@microsoft.com>
Tue, 14 Mar 2006 11:25:50 +0000 (11:25 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 14 Mar 2006 11:25:50 +0000 (11:25 +0000)
commit960a5e6a6f604aa01f5f74b80fb0f61ceffd7ed3
tree833e1b1db46d1998c612cabe5fd88fe5846bf346
parenta9dc96582699e24c7d67eec9e4296b80dee53e92
Make it a fatal error to try to enter a PAP
This is just an assertion, in effect: we should never enter a PAP, but
for convenience we previously attached the PAP apply code to the PAP
info table.  The problem with this was that it makes it harder to track
down bugs that result in entering a PAP...
ghc/includes/StgMiscClosures.h
ghc/rts/Apply.cmm
ghc/utils/genapply/GenApply.hs