[Git][ghc/ghc][wip/tsan/prep] rts: Style fixes
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Mon Jul 24 18:33:48 UTC 2023
Ben Gamari pushed to branch wip/tsan/prep at Glasgow Haskell Compiler / GHC
Commits:
a38fa0bf by Ben Gamari at 2023-07-24T14:33:01-04:00
rts: Style fixes
- - - - -
1 changed file:
- rts/Updates.h
Changes:
=====================================
rts/Updates.h
=====================================
@@ -76,9 +76,9 @@ INLINE_HEADER void updateWithIndirection (Capability *cap,
/* See Note [Heap memory barriers] in SMP.h */
bdescr *bd = Bdescr((StgPtr)p1);
if (bd->gen_no != 0) {
- IF_NONMOVING_WRITE_BARRIER_ENABLED {
- updateRemembSetPushThunk(cap, (StgThunk*)p1);
- }
+ IF_NONMOVING_WRITE_BARRIER_ENABLED {
+ updateRemembSetPushThunk(cap, (StgThunk*)p1);
+ }
recordMutableCap(p1, cap, bd->gen_no);
TICK_UPD_OLD_IND();
} else {
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a38fa0bf4b47628014ff747eacbb1e982b4fa6ab
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a38fa0bf4b47628014ff747eacbb1e982b4fa6ab
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230724/2015c713/attachment.html>
More information about the ghc-commits
mailing list