Move 'nextWrapperNum' into 'DsM' and 'TcM'
Previously existing in 'DynFlags', 'nextWrapperNum' is a global variable mapping a Module to a number for name generation for FFI calls. This is not the right location for 'nextWrapperNum', as 'DynFlags' should not contain just about any global variable.
Showing
- compiler/GHC/Driver/Session.hs 0 additions, 5 deletionscompiler/GHC/Driver/Session.hs
- compiler/GHC/HsToCore/Foreign/Decl.hs 4 additions, 2 deletionscompiler/GHC/HsToCore/Foreign/Decl.hs
- compiler/GHC/HsToCore/Monad.hs 9 additions, 4 deletionscompiler/GHC/HsToCore/Monad.hs
- compiler/GHC/HsToCore/Types.hs 4 additions, 0 deletionscompiler/GHC/HsToCore/Types.hs
- compiler/GHC/Tc/Types.hs 4 additions, 1 deletioncompiler/GHC/Tc/Types.hs
- compiler/GHC/Tc/Utils/Env.hs 10 additions, 9 deletionscompiler/GHC/Tc/Utils/Env.hs
- compiler/GHC/Tc/Utils/Monad.hs 3 additions, 1 deletioncompiler/GHC/Tc/Utils/Monad.hs
Loading
Please register or sign in to comment