summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CgCallConv.hs
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2010-11-16 17:12:47 +0000
committersimonpj@microsoft.com <unknown>2010-11-16 17:12:47 +0000
commite21c922fcdd1dac193bd8ff5670787daa3c21a12 (patch)
treee453372a3893e33709f01cc76c89c365e1a7ff7f /compiler/codeGen/CgCallConv.hs
parent2d367f855c3556166d24cf538d5c34d0ff596a2f (diff)
downloadhaskell-e21c922fcdd1dac193bd8ff5670787daa3c21a12.tar.gz
Remove unncessary fromIntegral calls
Diffstat (limited to 'compiler/codeGen/CgCallConv.hs')
-rw-r--r--compiler/codeGen/CgCallConv.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/CgCallConv.hs b/compiler/codeGen/CgCallConv.hs
index b8294ea326..f16a9b5e18 100644
--- a/compiler/codeGen/CgCallConv.hs
+++ b/compiler/codeGen/CgCallConv.hs
@@ -150,7 +150,7 @@ mkLiveness name size bits
= let
small_bits = case bits of
[] -> 0
- [b] -> fromIntegral b
+ [b] -> b
_ -> panic "livenessToAddrMode"
in
return (smallLiveness size small_bits)