Remove mi_hpc field from interface files
The `mi_hpc` field is not used for anything as far as I can discern so there is no reason to record in the private interface of a module that there are modules in the transitive closure which use `hpc`. You can freely mix modules which use `-fhpc` and ones which don't. Whether to recompile a module due to `-fhpc` being passed to the module itself is determined in `fingerprintDynFlags`.
Showing
- compiler/GHC.hs 0 additions, 1 deletioncompiler/GHC.hs
- compiler/GHC/HsToCore.hs 1 addition, 2 deletionscompiler/GHC/HsToCore.hs
- compiler/GHC/Iface/Load.hs 0 additions, 1 deletioncompiler/GHC/Iface/Load.hs
- compiler/GHC/Iface/Make.hs 5 additions, 10 deletionscompiler/GHC/Iface/Make.hs
- compiler/GHC/Rename/Names.hs 12 additions, 14 deletionscompiler/GHC/Rename/Names.hs
- compiler/GHC/Tc/Module.hs 2 additions, 3 deletionscompiler/GHC/Tc/Module.hs
- compiler/GHC/Tc/Types.hs 0 additions, 5 deletionscompiler/GHC/Tc/Types.hs
- compiler/GHC/Tc/Utils/Monad.hs 0 additions, 1 deletioncompiler/GHC/Tc/Utils/Monad.hs
- compiler/GHC/Types/HpcInfo.hs 1 addition, 14 deletionscompiler/GHC/Types/HpcInfo.hs
- compiler/GHC/Unit/Module/ModIface.hs 2 additions, 19 deletionscompiler/GHC/Unit/Module/ModIface.hs
- testsuite/tests/count-deps/CountDepsAst.stdout 0 additions, 1 deletiontestsuite/tests/count-deps/CountDepsAst.stdout
- testsuite/tests/count-deps/CountDepsParser.stdout 0 additions, 1 deletiontestsuite/tests/count-deps/CountDepsParser.stdout
Loading
Please register or sign in to comment