From 243439e6e77eca548a6583722792d6b96e3f6bcd Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 5 Jun 2012 00:52:01 +0100 Subject: Change how macros like ASSERT are defined By using Haskell's debugIsOn rather than CPP's "#ifdef DEBUG", we don't need to kludge things to keep the warning checker happy etc. --- compiler/vectorise/Vectorise/Exp.hs | 1 + compiler/vectorise/Vectorise/Monad/InstEnv.hs | 1 + 2 files changed, 2 insertions(+) (limited to 'compiler/vectorise/Vectorise') diff --git a/compiler/vectorise/Vectorise/Exp.hs b/compiler/vectorise/Vectorise/Exp.hs index e75cf0e009..c984c10a24 100644 --- a/compiler/vectorise/Vectorise/Exp.hs +++ b/compiler/vectorise/Vectorise/Exp.hs @@ -49,6 +49,7 @@ import Data.Maybe import Data.List import TcRnMonad (doptM) import DynFlags (DynFlag(Opt_AvoidVect)) +import Util -- Main entry point to vectorise expressions ----------------------------------- diff --git a/compiler/vectorise/Vectorise/Monad/InstEnv.hs b/compiler/vectorise/Vectorise/Monad/InstEnv.hs index 971fd8ff1f..546da3387e 100644 --- a/compiler/vectorise/Vectorise/Monad/InstEnv.hs +++ b/compiler/vectorise/Vectorise/Monad/InstEnv.hs @@ -14,6 +14,7 @@ import Class import Type import TyCon import Outputable +import Util #include "HsVersions.h" -- cgit v1.2.1