[commit: ghc] master: Whitespace and braces only (9a8c20d)

Ian Lynagh igloo at earth.li
Sat Jun 15 18:33:15 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/9a8c20d0d7956843cc7fbbd24f5592ea39c81be9

>---------------------------------------------------------------

commit 9a8c20d0d7956843cc7fbbd24f5592ea39c81be9
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sat Jun 15 17:08:42 2013 +0100

    Whitespace and braces only

>---------------------------------------------------------------

 rts/sm/Compact.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/rts/sm/Compact.c b/rts/sm/Compact.c
index 91ad8ab..9c98dc9 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) {





More information about the ghc-commits mailing list