diff options
author | Ian Lynagh <igloo@earth.li> | 2007-09-08 00:31:12 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-09-08 00:31:12 +0000 |
commit | f8c52d7fde2d7408b4f734251c373f8d3e2c558e (patch) | |
tree | c2f583f6ffa29ae9bad744a41bf355affafc31e9 /compiler/codeGen | |
parent | 907c44ca14e479e5fa64d712703b8fbad19d1e04 (diff) | |
download | haskell-f8c52d7fde2d7408b4f734251c373f8d3e2c558e.tar.gz |
Make various assertions work when !DEBUG
Diffstat (limited to 'compiler/codeGen')
-rw-r--r-- | compiler/codeGen/CgCon.lhs | 4 | ||||
-rw-r--r-- | compiler/codeGen/CgUtils.hs | 2 | ||||
-rw-r--r-- | compiler/codeGen/CodeGen.lhs | 3 |
3 files changed, 1 insertions, 8 deletions
diff --git a/compiler/codeGen/CgCon.lhs b/compiler/codeGen/CgCon.lhs index bf4cf3d9e7..711c633fd8 100644 --- a/compiler/codeGen/CgCon.lhs +++ b/compiler/codeGen/CgCon.lhs @@ -51,9 +51,7 @@ import Type import PrelInfo import Outputable import ListSetOps -#ifdef DEBUG -import Util ( lengthIs ) -#endif +import Util \end{code} diff --git a/compiler/codeGen/CgUtils.hs b/compiler/codeGen/CgUtils.hs index 7101a4d5b2..260248d419 100644 --- a/compiler/codeGen/CgUtils.hs +++ b/compiler/codeGen/CgUtils.hs @@ -74,9 +74,7 @@ import Util import DynFlags import FastString import PackageConfig -#ifdef DEBUG import Outputable -#endif import Data.Char import Data.Bits diff --git a/compiler/codeGen/CodeGen.lhs b/compiler/codeGen/CodeGen.lhs index a53ff49621..4221342d4f 100644 --- a/compiler/codeGen/CodeGen.lhs +++ b/compiler/codeGen/CodeGen.lhs @@ -54,10 +54,7 @@ import OccName import TyCon import Module import ErrUtils - -#ifdef DEBUG import Panic -#endif \end{code} \begin{code} |