summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/PPC
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-11-04 15:06:56 +0000
committerIan Lynagh <igloo@earth.li>2011-11-04 15:57:46 +0000
commit1df198643cc5502ee103f043193d2990c9837e25 (patch)
tree1a5cf7036a3c0f8c2fa13b3d51fb9f492ddec5de /compiler/nativeGen/PPC
parented26b477377ac4ac2277a82effb8d1b830843851 (diff)
downloadhaskell-1df198643cc5502ee103f043193d2990c9837e25.tar.gz
Use -fwarn-tabs when validating
We only use it for "compiler" sources, i.e. not for libraries. Many modules have a -fno-warn-tabs kludge for now.
Diffstat (limited to 'compiler/nativeGen/PPC')
-rw-r--r--compiler/nativeGen/PPC/Cond.hs7
-rw-r--r--compiler/nativeGen/PPC/Instr.hs7
-rw-r--r--compiler/nativeGen/PPC/Ppr.hs7
-rw-r--r--compiler/nativeGen/PPC/RegInfo.hs7
-rw-r--r--compiler/nativeGen/PPC/Regs.hs7
5 files changed, 35 insertions, 0 deletions
diff --git a/compiler/nativeGen/PPC/Cond.hs b/compiler/nativeGen/PPC/Cond.hs
index 7345ee5f1d..ec5ef621c8 100644
--- a/compiler/nativeGen/PPC/Cond.hs
+++ b/compiler/nativeGen/PPC/Cond.hs
@@ -1,4 +1,11 @@
+{-# OPTIONS -fno-warn-tabs #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and
+-- detab the module (please do the detabbing in a separate patch). See
+-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces
+-- for details
+
module PPC.Cond (
Cond(..),
condNegate,
diff --git a/compiler/nativeGen/PPC/Instr.hs b/compiler/nativeGen/PPC/Instr.hs
index ffe5408033..d6f4bafd0d 100644
--- a/compiler/nativeGen/PPC/Instr.hs
+++ b/compiler/nativeGen/PPC/Instr.hs
@@ -9,6 +9,13 @@
#include "HsVersions.h"
#include "nativeGen/NCG.h"
+{-# OPTIONS -fno-warn-tabs #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and
+-- detab the module (please do the detabbing in a separate patch). See
+-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces
+-- for details
+
module PPC.Instr (
archWordSize,
RI(..),
diff --git a/compiler/nativeGen/PPC/Ppr.hs b/compiler/nativeGen/PPC/Ppr.hs
index a2797a403a..26f06c373b 100644
--- a/compiler/nativeGen/PPC/Ppr.hs
+++ b/compiler/nativeGen/PPC/Ppr.hs
@@ -6,6 +6,13 @@
--
-----------------------------------------------------------------------------
+{-# OPTIONS -fno-warn-tabs #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and
+-- detab the module (please do the detabbing in a separate patch). See
+-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces
+-- for details
+
module PPC.Ppr (
pprNatCmmDecl,
pprBasicBlock,
diff --git a/compiler/nativeGen/PPC/RegInfo.hs b/compiler/nativeGen/PPC/RegInfo.hs
index 2a30087ab7..019cf82f6a 100644
--- a/compiler/nativeGen/PPC/RegInfo.hs
+++ b/compiler/nativeGen/PPC/RegInfo.hs
@@ -6,6 +6,13 @@
--
-----------------------------------------------------------------------------
+{-# OPTIONS -fno-warn-tabs #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and
+-- detab the module (please do the detabbing in a separate patch). See
+-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces
+-- for details
+
module PPC.RegInfo (
JumpDest( DestBlockId ), getJumpDestBlockId,
canShortcut,
diff --git a/compiler/nativeGen/PPC/Regs.hs b/compiler/nativeGen/PPC/Regs.hs
index 7a2a84b68c..2f1bae39c1 100644
--- a/compiler/nativeGen/PPC/Regs.hs
+++ b/compiler/nativeGen/PPC/Regs.hs
@@ -4,6 +4,13 @@
--
-- -----------------------------------------------------------------------------
+{-# OPTIONS -fno-warn-tabs #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and
+-- detab the module (please do the detabbing in a separate patch). See
+-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces
+-- for details
+
module PPC.Regs (
-- squeeze functions
virtualRegSqueeze,