[Git][ghc/ghc][wip/memory-barriers] Add missing memory barrier
Ben Gamari
gitlab at gitlab.haskell.org
Sat Jun 8 17:15:03 UTC 2019
Ben Gamari pushed to branch wip/memory-barriers at Glasgow Haskell Compiler / GHC
Commits:
8c20ee41 by Ben Gamari at 2019-06-08T17:14:58Z
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/8c20ee414efc23e1b80669521fa229ee39c05e1a
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/8c20ee414efc23e1b80669521fa229ee39c05e1a
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/38e884ef/attachment.html>
More information about the ghc-commits
mailing list