Don't import FastString in HsVersions.h
[ghc-hetmet.git] / compiler / cmm / OptimizationFuel.hs
index c15bd4d..bc32626 100644 (file)
@@ -11,7 +11,7 @@ module OptimizationFuel
     )
 where
 
-import GHC.Prim
+--import GHC.Exts (State#)
 import Panic
 
 import Data.IORef
@@ -48,11 +48,6 @@ oneLessFuel f = f
 diffFuel _ _ = 0
 #endif
 
--- stop warnings about things that aren't used
-_unused :: State# () -> FS.FastString
-_unused = undefined panic
-
-
 data FuelState = FuelState { fs_fuellimit :: OptimizationFuel, fs_lastpass :: String }
 newtype FuelMonad a = FuelMonad (FuelState -> (a, FuelState))