Don't create selector cases for unused binders.
[matthijs/master-project/cλash.git] / NormalizeTypes.hs
index 5c7c24a6e1623805f255c2f61e0122e83709e68d..56cba91a411666a078e0eed852ffe5c084fea0f9 100644 (file)
@@ -20,11 +20,13 @@ import Outputable ( Outputable, showSDoc, ppr )
 -- Local imports
 import CoreShow
 import Pretty
+import VHDLTypes -- For TypeState
 
 data TransformState = TransformState {
     tsUniqSupply_ :: UniqSupply.UniqSupply
   , tsBindings_ :: Map.Map CoreBndr CoreExpr
   , tsNormalized_ :: VarSet.VarSet -- ^ The binders that have been normalized
+  , tsType_ :: TypeState
 }
 
 $( Data.Accessor.Template.deriveAccessors ''TransformState )