projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RTS tidyup sweep, first phase
[ghc-hetmet.git]
/
rts
/
sm
/
GCUtils.c
diff --git
a/rts/sm/GCUtils.c
b/rts/sm/GCUtils.c
index
57cede7
..
6c6f10e
100644
(file)
--- a/
rts/sm/GCUtils.c
+++ b/
rts/sm/GCUtils.c
@@
-11,8
+11,9
@@
*
* ---------------------------------------------------------------------------*/
*
* ---------------------------------------------------------------------------*/
+#include "PosixSource.h"
#include "Rts.h"
#include "Rts.h"
-#include "RtsFlags.h"
+
#include "Storage.h"
#include "GC.h"
#include "GCThread.h"
#include "Storage.h"
#include "GC.h"
#include "GCThread.h"
@@
-101,6
+102,7
@@
grab_local_todo_block (step_workspace *ws)
return NULL;
}
return NULL;
}
+#if defined(THREADED_RTS)
bdescr *
steal_todo_block (nat s)
{
bdescr *
steal_todo_block (nat s)
{
@@
-117,6
+119,7
@@
steal_todo_block (nat s)
}
return NULL;
}
}
return NULL;
}
+#endif
void
push_scanned_block (bdescr *bd, step_workspace *ws)
void
push_scanned_block (bdescr *bd, step_workspace *ws)