diff options
author | Andre Marianiello <andremarianiello@users.noreply.github.com> | 2022-05-08 15:24:17 -0400 |
---|---|---|
committer | andremarianiello <andre.marianiello@gmail.com> | 2022-05-12 02:15:48 +0000 |
commit | 3a022baa1967e2df2ed19341de38b004dc07c04f (patch) | |
tree | 0f41c5edb4a320570097d3a2f9e7237f0e8117cb /testsuite | |
parent | a2dcad4e6f75c08aacc5902a20ca4c773819d7b7 (diff) | |
download | haskell-3a022baa1967e2df2ed19341de38b004dc07c04f.tar.gz |
Remove Module argument from initCmmParserConfig
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/regalloc/regalloc_unit_tests.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/tests/regalloc/regalloc_unit_tests.hs b/testsuite/tests/regalloc/regalloc_unit_tests.hs index 04e59a9ce9..d6ffcc3431 100644 --- a/testsuite/tests/regalloc/regalloc_unit_tests.hs +++ b/testsuite/tests/regalloc/regalloc_unit_tests.hs @@ -133,8 +133,7 @@ compileCmmForRegAllocStats logger dflags cmmFile ncgImplF us = do -- parse the cmm file and output any warnings or errors let fake_mod = mkHomeModule (hsc_home_unit hscEnv) (mkModuleName "fake") - no_module = panic "compileCmmForRegAllocStats: no module" - cmmpConfig = initCmmParserConfig dflags no_module + cmmpConfig = initCmmParserConfig dflags (warnings, errors, parsedCmm) <- parseCmmFile cmmpConfig fake_mod (hsc_home_unit hscEnv) cmmFile -- print parser errors or warnings |