summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmPrim.hs
diff options
context:
space:
mode:
authorJan Stolarek <jan.stolarek@p.lodz.pl>2013-08-20 10:34:39 +0100
committerJan Stolarek <jan.stolarek@p.lodz.pl>2013-08-20 17:19:29 +0100
commit3f279f37042458dfcfd06eceb127eed4a528c3cc (patch)
tree9946b80f749121d2195483b1f12bb2ef7ebcc7e9 /compiler/codeGen/StgCmmPrim.hs
parentf661e79c3ba0aaad46d5366f7f2836dc2e78b82b (diff)
downloadhaskell-3f279f37042458dfcfd06eceb127eed4a528c3cc.tar.gz
Trailing whitespaces, code formatting, detabify
A major cleanup of trailing whitespaces and tabs in codeGen/ directory. I also adjusted code formatting in some places.
Diffstat (limited to 'compiler/codeGen/StgCmmPrim.hs')
-rw-r--r--compiler/codeGen/StgCmmPrim.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/codeGen/StgCmmPrim.hs b/compiler/codeGen/StgCmmPrim.hs
index 2c044faa42..c11df7009c 100644
--- a/compiler/codeGen/StgCmmPrim.hs
+++ b/compiler/codeGen/StgCmmPrim.hs
@@ -1038,7 +1038,7 @@ doIndexOffAddrOp _ _ _ _
doIndexOffAddrOpAs :: Maybe MachOp
-> CmmType
- -> CmmType
+ -> CmmType
-> [LocalReg]
-> [CmmExpr]
-> FCode ()
@@ -1055,19 +1055,19 @@ doIndexByteArrayOp :: Maybe MachOp
doIndexByteArrayOp maybe_post_read_cast rep [res] [addr,idx]
= do dflags <- getDynFlags
mkBasicIndexedRead (arrWordsHdrSize dflags) maybe_post_read_cast rep res addr rep idx
-doIndexByteArrayOp _ _ _ _
+doIndexByteArrayOp _ _ _ _
= panic "StgCmmPrim: doIndexByteArrayOp"
doIndexByteArrayOpAs :: Maybe MachOp
-> CmmType
- -> CmmType
+ -> CmmType
-> [LocalReg]
-> [CmmExpr]
-> FCode ()
doIndexByteArrayOpAs maybe_post_read_cast rep idx_rep [res] [addr,idx]
= do dflags <- getDynFlags
mkBasicIndexedRead (arrWordsHdrSize dflags) maybe_post_read_cast rep res addr idx_rep idx
-doIndexByteArrayOpAs _ _ _ _ _
+doIndexByteArrayOpAs _ _ _ _ _
= panic "StgCmmPrim: doIndexByteArrayOpAs"
doReadPtrArrayOp :: LocalReg
@@ -1212,7 +1212,7 @@ doVecPackOp maybe_pre_write_cast ty z es res = do
Just cast -> CmmMachOp cast [val]
len :: Length
- len = vecLength ty
+ len = vecLength ty
wid :: Width
wid = typeWidth (vecElemType ty)
@@ -1246,7 +1246,7 @@ doVecUnpackOp maybe_post_read_cast ty e res =
Just cast -> CmmMachOp cast [val]
len :: Length
- len = vecLength ty
+ len = vecLength ty
wid :: Width
wid = typeWidth (vecElemType ty)
@@ -1273,7 +1273,7 @@ doVecInsertOp maybe_pre_write_cast ty src e idx res = do
Just cast -> CmmMachOp cast [val]
len :: Length
- len = vecLength ty
+ len = vecLength ty
wid :: Width
wid = typeWidth (vecElemType ty)