[project @ 2004-12-27 18:28:21 by simonpj]
[ghc-hetmet.git] / ghc / compiler / simplCore / SimplCore.lhs
index e567e78..ec8ed27 100644 (file)
@@ -109,8 +109,8 @@ simplifyExpr dflags expr
 
 gentleSimplEnv :: SimplEnv
 gentleSimplEnv = mkSimplEnv SimplGently 
-                           (panic "simplifyExpr: switches")
-                            emptyRuleBase
+                           (isAmongSimpl [])
+                           emptyRuleBase
 
 doCorePasses :: HscEnv
              -> UniqSupply      -- uniques