projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge _stub.o files into the main .o file (Fixes #3687 and #706)
[ghc-hetmet.git]
/
compiler
/
codeGen
/
StgCmmHpc.hs
diff --git
a/compiler/codeGen/StgCmmHpc.hs
b/compiler/codeGen/StgCmmHpc.hs
index
8bf1fbf
..
a93af34
100644
(file)
--- a/
compiler/codeGen/StgCmmHpc.hs
+++ b/
compiler/codeGen/StgCmmHpc.hs
@@
-12,8
+12,9
@@
import StgCmmUtils
import StgCmmMonad
import StgCmmForeign
import StgCmmMonad
import StgCmmForeign
-import MkZipCfgCmm
-import Cmm
+import MkGraph
+import CmmDecl
+import CmmExpr
import CLabel
import Module
import CmmUtils
import CLabel
import Module
import CmmUtils
@@
-32,7
+33,7
@@
mkTickBox mod n
where
tick_box = cmmIndex W64
(CmmLit $ CmmLabel $ mkHpcTicksLabel $ mod)
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
initHpc :: Module -> HpcInfo -> FCode CmmAGraph
-- Emit top-level tables for HPC and return code to initialise