rts: detabify/dewhitespace Updates.h
authorAustin Seipp <austin@well-typed.com>
Wed, 20 Aug 2014 17:15:15 +0000 (12:15 -0500)
committerAustin Seipp <austin@well-typed.com>
Wed, 20 Aug 2014 17:15:38 +0000 (12:15 -0500)
Signed-off-by: Austin Seipp <austin@well-typed.com>
rts/Updates.h

index 36280b5..c6ed283 100644 (file)
 
 
 #define updateWithIndirection(p1, p2, and_then) \
-    W_ bd;                                                     \
-                                                               \
+    W_ bd;                                                      \
+                                                                \
     OVERWRITING_CLOSURE(p1);                                    \
     StgInd_indirectee(p1) = p2;                                 \
     prim_write_barrier;                                         \
     SET_INFO(p1, stg_BLACKHOLE_info);                           \
     LDV_RECORD_CREATE(p1);                                      \
-    bd = Bdescr(p1);                                           \
-    if (bdescr_gen_no(bd) != 0 :: bits16) {                    \
+    bd = Bdescr(p1);                                            \
+    if (bdescr_gen_no(bd) != 0 :: bits16) {                     \
       recordMutableCap(p1, TO_W_(bdescr_gen_no(bd)));           \
-      TICK_UPD_OLD_IND();                                      \
-      and_then;                                                        \
-    } else {                                                   \
-      TICK_UPD_NEW_IND();                                      \
-      and_then;                                                        \
+      TICK_UPD_OLD_IND();                                       \
+      and_then;                                                 \
+    } else {                                                    \
+      TICK_UPD_NEW_IND();                                       \
+      and_then;                                                 \
   }
 
 #else /* !CMINUSMINUS */
 
-INLINE_HEADER void updateWithIndirection (Capability *cap, 
-                                          StgClosure *p1, 
+INLINE_HEADER void updateWithIndirection (Capability *cap,
+                                          StgClosure *p1,
                                           StgClosure *p2)
 {
     bdescr *bd;
-    
+
     ASSERT( (P_)p1 != (P_)p2 );
     /* not necessarily true: ASSERT( !closure_IND(p1) ); */
     /* occurs in RaiseAsync.c:raiseAsync() */