projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Store a destination step in the block descriptor
[ghc-hetmet.git]
/
includes
/
rts
/
storage
/
GC.h
diff --git
a/includes/rts/storage/GC.h
b/includes/rts/storage/GC.h
index
b30582d
..
aa05313
100644
(file)
--- a/
includes/rts/storage/GC.h
+++ b/
includes/rts/storage/GC.h
@@
-214,4
+214,11
@@
void dirty_MUT_VAR(StgRegTable *reg, StgClosure *p);
/* (needed when dynamic libraries are used). */
extern rtsBool keepCAFs;
+INLINE_HEADER void initBdescr(bdescr *bd, step *step)
+{
+ bd->step = step;
+ bd->gen_no = step->gen_no;
+ bd->dest = step->to;
+}
+
#endif /* RTS_STORAGE_GC_H */