summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmHpc.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/StgCmmHpc.hs
parent2d367f855c3556166d24cf538d5c34d0ff596a2f (diff)
downloadhaskell-e21c922fcdd1dac193bd8ff5670787daa3c21a12.tar.gz
Remove unncessary fromIntegral calls
Diffstat (limited to 'compiler/codeGen/StgCmmHpc.hs')
-rw-r--r--compiler/codeGen/StgCmmHpc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmHpc.hs b/compiler/codeGen/StgCmmHpc.hs
index 8bf1fbfbc3..e39a1013e3 100644
--- a/compiler/codeGen/StgCmmHpc.hs
+++ b/compiler/codeGen/StgCmmHpc.hs
@@ -32,7 +32,7 @@ mkTickBox mod n
where
tick_box = cmmIndex W64
(CmmLit $ CmmLabel $ mkHpcTicksLabel $ mod)
- (fromIntegral n)
+ n
initHpc :: Module -> HpcInfo -> FCode CmmAGraph
-- Emit top-level tables for HPC and return code to initialise