revertCAFs and -fexternal-interpreter

Rahul Muttineni rahulmutt at gmail.com
Wed Jun 6 07:58:29 UTC 2018


Hello devs,

I noticed that in ghc/GHCi/UI.hs, the calls to 'revertCAFs' are made in the
compiler's RTS instead of the interpreter's RTS. When
-fexternal-interpreter is on this distinction is visible, otherwise they
are one and the same so it works as intended.

Shouldn't there be a RevertCAFs data constructor in
`libraries/ghci/GHCi/Message.hs` to tell the interpreter process to revert
the CAFs in its heap?

Thanks,
Rahul Muttineni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180606/920d8583/attachment.html>


More information about the ghc-devs mailing list