diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2020-09-07 21:50:39 +0100 |
---|---|---|
committer | Alan Zimmerman <alan.zimm@gmail.com> | 2020-09-08 18:26:43 +0100 |
commit | 28c79894b4e2d2616815f916f46fe26f389012da (patch) | |
tree | 1344a6bbab75a16bac75d749ec3226a21ab9ea48 /compiler/GHC/StgToCmm/Monad.hs | |
parent | d4bc9f0de7992f60bce403731019829f6248cc2c (diff) | |
download | haskell-28c79894b4e2d2616815f916f46fe26f389012da.tar.gz |
Remove GENERATED pragma, as it is not being usedwip/T18639-remove-generated-pragma
@alanz pointed out on ghc-devs that the payload of this pragma does
not appear to be used anywhere.
I (@bgamari) did some digging and traced the pragma's addition back to
d386e0d2 (way back in 2006!).
It appears that it was intended to be used by code generators for use
in informing the code coveraging checker about generated code
provenance. When it was added it used the pragma's "payload" fields as
source location information to build an "ExternalBox". However, it
looks like this was dropped a year later in 55a5d8d9. At this point
it seems like the pragma serves no useful purpose.
Given that it also is not documented, I think we should remove it.
Updates haddock submodule
Closes #18639
Diffstat (limited to 'compiler/GHC/StgToCmm/Monad.hs')
0 files changed, 0 insertions, 0 deletions