projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't expose the unfolding of dictionary selectors without -O
[ghc-hetmet.git]
/
rts
/
Hpc.c
diff --git
a/rts/Hpc.c
b/rts/Hpc.c
index
aa7ffe9
..
014319c
100644
(file)
--- a/
rts/Hpc.c
+++ b/
rts/Hpc.c
@@
-186,14
+186,14
@@
static void hpc_init(void) {
int
hs_hpc_module(char *modName,
int
hs_hpc_module(char *modName,
- unsigned int modCount,
- unsigned int modHashNo,
+ StgWord32 modCount,
+ StgWord32 modHashNo,
StgWord64 *tixArr) {
HpcModuleInfo *tmpModule, *lastModule;
unsigned int i;
int offset = 0;
StgWord64 *tixArr) {
HpcModuleInfo *tmpModule, *lastModule;
unsigned int i;
int offset = 0;
- debugTrace(DEBUG_hpc,"hs_hpc_module(%s,%d)",modName,modCount);
+ debugTrace(DEBUG_hpc,"hs_hpc_module(%s,%d)",modName,(nat)modCount);
hpc_init();
hpc_init();
@@
-284,13
+284,13
@@
writeTix(FILE *f) {
}
fprintf(f," TixModule \"%s\" %u %u [",
tmpModule->modName,
}
fprintf(f," TixModule \"%s\" %u %u [",
tmpModule->modName,
- tmpModule->hashNo,
- tmpModule->tickCount);
+ (nat)tmpModule->hashNo,
+ (nat)tmpModule->tickCount);
debugTrace(DEBUG_hpc,"%s: %u (offset=%u) (hash=%u)\n",
tmpModule->modName,
debugTrace(DEBUG_hpc,"%s: %u (offset=%u) (hash=%u)\n",
tmpModule->modName,
- tmpModule->tickCount,
- tmpModule->hashNo,
- tmpModule->tickOffset);
+ (nat)tmpModule->tickCount,
+ (nat)tmpModule->hashNo,
+ (nat)tmpModule->tickOffset);
inner_comma = 0;
for(i = 0;i < tmpModule->tickCount;i++) {
inner_comma = 0;
for(i = 0;i < tmpModule->tickCount;i++) {