Add Cmm related hooks
* stgToCmm hook * cmmToRawCmm hook These hooks are used by Asterius and could be useful to other clients of the GHC API. It increases the Parser dependencies (test CountParserDeps) to 184. It's still less than 200 which was the initial request (cf https://mail.haskell.org/pipermail/ghc-devs/2019-September/018122.html) so I think it's ok to merge this.
Showing
... | ... | @@ -31,7 +31,7 @@ main = do |
let num = sizeUniqSet modules | ||
-- print num | ||
-- print (map moduleNameString $ nonDetEltsUniqSet modules) | ||
unless (num < 165) $ exitWith (ExitFailure num) | ||
unless (num < 190) $ exitWith (ExitFailure num) | ||
|
||
parserDeps :: FilePath -> IO (UniqSet ModuleName) | ||
parserDeps libdir = | ||
... | ... |