Stop exporting, and stop using, functions marked as deprecated
Don't export `getUs` and `getUniqueUs`. `UniqSM` has a `MonadUnique` instance: instance MonadUnique UniqSM where getUniqueSupplyM = getUs getUniqueM = getUniqueUs getUniquesM = getUniquesUs Commandline-fu used: git grep -l 'getUs\>' | grep -v compiler/basicTypes/UniqSupply.lhs | xargs sed -i 's/getUs/getUniqueSupplyM/g git grep -l 'getUniqueUs\>' | grep -v combiler/basicTypes/UniqSupply.lhs | xargs sed -i 's/getUniqueUs/getUniqueM/g' Follow up on b522d3a3 Reviewed By: austin, hvr Differential Revision: https://phabricator.haskell.org/D220
Showing
- compiler/basicTypes/MkId.lhs 1 addition, 1 deletioncompiler/basicTypes/MkId.lhs
- compiler/basicTypes/UniqSupply.lhs 0 additions, 3 deletionscompiler/basicTypes/UniqSupply.lhs
- compiler/cmm/CmmInfo.hs 2 additions, 2 deletionscompiler/cmm/CmmInfo.hs
- compiler/llvmGen/LlvmCodeGen/CodeGen.hs 1 addition, 1 deletioncompiler/llvmGen/LlvmCodeGen/CodeGen.hs
- compiler/nativeGen/AsmCodeGen.lhs 1 addition, 1 deletioncompiler/nativeGen/AsmCodeGen.lhs
- compiler/nativeGen/PPC/Instr.hs 1 addition, 1 deletioncompiler/nativeGen/PPC/Instr.hs
- compiler/nativeGen/RegAlloc/Graph/Spill.hs 1 addition, 1 deletioncompiler/nativeGen/RegAlloc/Graph/Spill.hs
- compiler/nativeGen/RegAlloc/Linear/Main.hs 1 addition, 1 deletioncompiler/nativeGen/RegAlloc/Linear/Main.hs
- compiler/nativeGen/X86/Instr.hs 1 addition, 1 deletioncompiler/nativeGen/X86/Instr.hs
- compiler/simplCore/SAT.lhs 1 addition, 1 deletioncompiler/simplCore/SAT.lhs
- compiler/specialise/SpecConstr.lhs 3 additions, 3 deletionscompiler/specialise/SpecConstr.lhs
Loading
Please register or sign in to comment