diff options
author | Aditya Gupta <adityagupta1089@gmail.com> | 2020-08-15 00:50:24 +0530 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-08-22 03:29:00 -0400 |
commit | e67ae884ebe42cb31fc4230301a5f555ae23cce8 (patch) | |
tree | b6a0f68aab9f9e07f066b49ff1f6211d5d6bf4d5 /compiler/GHC/Platform | |
parent | 989c1c27b1ec69d8cf56b438f0173d92c3547ab5 (diff) | |
download | haskell-e67ae884ebe42cb31fc4230301a5f555ae23cce8.tar.gz |
mkUnique refactoring (#18362)
Move uniqFromMask from Unique.Supply to Unique.
Move the the functions that call mkUnique from Unique to Builtin.Uniques
Diffstat (limited to 'compiler/GHC/Platform')
-rw-r--r-- | compiler/GHC/Platform/Reg.hs | 1 | ||||
-rw-r--r-- | compiler/GHC/Platform/Reg/Class.hs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Platform/Reg.hs b/compiler/GHC/Platform/Reg.hs index 1ecca9fe47..c011a59eb0 100644 --- a/compiler/GHC/Platform/Reg.hs +++ b/compiler/GHC/Platform/Reg.hs @@ -32,6 +32,7 @@ import GHC.Prelude import GHC.Utils.Outputable import GHC.Utils.Panic import GHC.Types.Unique +import GHC.Builtin.Uniques import GHC.Platform.Reg.Class import Data.List (intersect) diff --git a/compiler/GHC/Platform/Reg/Class.hs b/compiler/GHC/Platform/Reg/Class.hs index 3b967c5c55..981305ed94 100644 --- a/compiler/GHC/Platform/Reg/Class.hs +++ b/compiler/GHC/Platform/Reg/Class.hs @@ -8,6 +8,7 @@ import GHC.Prelude import GHC.Utils.Outputable as Outputable import GHC.Types.Unique +import GHC.Builtin.Uniques -- | The class of a register. |