[Git][ghc/ghc][wip/memory-barriers] Add missing memory barrier
Ben Gamari
gitlab at gitlab.haskell.org
Sat Jun 8 19:04:09 UTC 2019
Ben Gamari pushed to branch wip/memory-barriers at Glasgow Haskell Compiler / GHC
Commits:
a1454012 by Ben Gamari at 2019-06-08T19:03:51Z
Add missing memory barrier
- - - - -
1 changed file:
- includes/Cmm.h
Changes:
=====================================
includes/Cmm.h
=====================================
@@ -309,6 +309,8 @@
again: \
W_ info; \
LOAD_INFO(ret,x) \
+ /* See Note [Heap memory barriers] in SMP.h */ \
+ prim_read_barrier; \
switch [INVALID_OBJECT .. N_CLOSURE_TYPES] \
(TO_W_( %INFO_TYPE(%STD_INFO(info)) )) { \
case \
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/a1454012ca9258418e28e0ebf0d90629f58ae425
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/a1454012ca9258418e28e0ebf0d90629f58ae425
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/20190608/10e3db56/attachment.html>
More information about the ghc-commits
mailing list