summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-06-15 17:08:42 +0100
committerIan Lynagh <ian@well-typed.com>2013-06-15 17:08:42 +0100
commit9a8c20d0d7956843cc7fbbd24f5592ea39c81be9 (patch)
tree4fb5be975eee698fb8a5a9edabd75c32e6db4d3f
parent4ca864277ce94b65e8be41e2ba929a7157f37f1b (diff)
downloadhaskell-9a8c20d0d7956843cc7fbbd24f5592ea39c81be9.tar.gz
Whitespace and braces only
-rw-r--r--rts/sm/Compact.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/rts/sm/Compact.c b/rts/sm/Compact.c
index 91ad8abb5a..9c98dc9895 100644
--- a/rts/sm/Compact.c
+++ b/rts/sm/Compact.c
@@ -918,18 +918,19 @@ compact(StgClosure *static_objects)
// the weak pointer lists...
for (g = 0; g < RtsFlags.GcFlags.generations; g++) {
- if (generations[g].weak_ptr_list != NULL)
+ if (generations[g].weak_ptr_list != NULL) {
thread((void *)&generations[g].weak_ptr_list);
+ }
}
if (dead_weak_ptr_list != NULL) {
- thread((void *)&dead_weak_ptr_list); // tmp
+ thread((void *)&dead_weak_ptr_list); // tmp
}
// mutable lists
for (g = 1; g < RtsFlags.GcFlags.generations; g++) {
- bdescr *bd;
- StgPtr p;
+ bdescr *bd;
+ StgPtr p;
for (n = 0; n < n_capabilities; n++) {
for (bd = capabilities[n].mut_lists[g];
bd != NULL; bd = bd->link) {