FIX #1910: fix code generated for GDTOI on x86_32
[ghc-hetmet.git] / compiler / nativeGen / RegArchBase.hs
index 86f0f0e..4709b4c 100644 (file)
@@ -11,7 +11,7 @@
 --
 --     This code is here because we can test the architecture specific code against it.
 --
---
+
 module RegArchBase (
        RegClass(..),
        Reg(..),
@@ -64,7 +64,7 @@ instance Uniquable Reg where
         = mkUnique 'S'
         $ fromEnum s * 10000 + fromEnum c * 1000 + i
 
-       getUnique (RegSub s (RegSub c _))
+       getUnique (RegSub _ (RegSub _ _))
          = error "RegArchBase.getUnique: can't have a sub-reg of a sub-reg."
 
 -- | A subcomponent of another register