projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add optional eager black-holing, with new flag -feager-blackholing
[ghc-hetmet.git]
/
includes
/
Regs.h
diff --git
a/includes/Regs.h
b/includes/Regs.h
index
cf083c9
..
49366ed
100644
(file)
--- a/
includes/Regs.h
+++ b/
includes/Regs.h
@@
-23,6
+23,7
@@
#define REGS_H
typedef struct {
#define REGS_H
typedef struct {
+ StgWord stgEagerBlackholeInfo;
StgFunPtr stgGCEnter1;
StgFunPtr stgGCFun;
} StgFunTable;
StgFunPtr stgGCEnter1;
StgFunPtr stgGCFun;
} StgFunTable;
@@
-399,8
+400,9
@@
GLOBAL_REG_DECL(bdescr *,HpAlloc,REG_HpAlloc)
#define FunReg ((StgFunTable *)((void *)BaseReg - sizeof(StgFunTable)))
#define FunReg ((StgFunTable *)((void *)BaseReg - sizeof(StgFunTable)))
-#define stg_gc_enter_1 (FunReg->stgGCEnter1)
-#define stg_gc_fun (FunReg->stgGCFun)
+#define stg_EAGER_BLACKHOLE_info (FunReg->stgEagerBlackholeInfo)
+#define stg_gc_enter_1 (FunReg->stgGCEnter1)
+#define stg_gc_fun (FunReg->stgGCFun)
/* -----------------------------------------------------------------------------
For any registers which are denoted "caller-saves" by the C calling
/* -----------------------------------------------------------------------------
For any registers which are denoted "caller-saves" by the C calling