[project @ 2004-12-27 18:28:21 by simonpj]
authorsimonpj <unknown>
Mon, 27 Dec 2004 18:28:21 +0000 (18:28 +0000)
committersimonpj <unknown>
Mon, 27 Dec 2004 18:28:21 +0000 (18:28 +0000)
Wibble

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