[commit: ghc] master: nativeGen: detabify/dewhitespace SPARC/Cond (8707e45)
git at git.haskell.org
git at git.haskell.org
Sun Jul 20 21:57:35 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/8707e4597dc3a49a7dd659601cbe98cb451e2f05/ghc
>---------------------------------------------------------------
commit 8707e4597dc3a49a7dd659601cbe98cb451e2f05
Author: Austin Seipp <austin at well-typed.com>
Date: Fri Jul 18 22:28:05 2014 -0500
nativeGen: detabify/dewhitespace SPARC/Cond
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
8707e4597dc3a49a7dd659601cbe98cb451e2f05
compiler/nativeGen/SPARC/Cond.hs | 50 +++++++++++++++++-----------------------
1 file changed, 21 insertions(+), 29 deletions(-)
diff --git a/compiler/nativeGen/SPARC/Cond.hs b/compiler/nativeGen/SPARC/Cond.hs
index 198e4a7..da41457 100644
--- a/compiler/nativeGen/SPARC/Cond.hs
+++ b/compiler/nativeGen/SPARC/Cond.hs
@@ -1,39 +1,31 @@
-
-{-# OPTIONS_GHC -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://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces
--- for details
-
module SPARC.Cond (
- Cond(..),
- condUnsigned,
- condToSigned,
- condToUnsigned
+ Cond(..),
+ condUnsigned,
+ condToSigned,
+ condToUnsigned
)
where
-- | Branch condition codes.
data Cond
- = ALWAYS
- | EQQ
- | GE
- | GEU
- | GTT
- | GU
- | LE
- | LEU
- | LTT
- | LU
- | NE
- | NEG
- | NEVER
- | POS
- | VC
- | VS
- deriving Eq
+ = ALWAYS
+ | EQQ
+ | GE
+ | GEU
+ | GTT
+ | GU
+ | LE
+ | LEU
+ | LTT
+ | LU
+ | NE
+ | NEG
+ | NEVER
+ | POS
+ | VC
+ | VS
+ deriving Eq
condUnsigned :: Cond -> Bool
More information about the ghc-commits
mailing list