[commit: ghc] master, wip/deploy-docs, wip/packaging-fail, wip/run-nofib, wip/windows-32bit: Fix specification of load_load_barrier [skip-ci] (3423664)

git at git.haskell.org git at git.haskell.org
Thu Mar 21 17:01:45 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branches: master,wip/deploy-docs,wip/packaging-fail,wip/run-nofib,wip/windows-32bit
Link       : http://ghc.haskell.org/trac/ghc/changeset/3423664b80ce3c8f5fa3104f3b0a1bcd0e539a02/ghc

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

commit 3423664b80ce3c8f5fa3104f3b0a1bcd0e539a02
Author: Peter Trommler <ptrommler at acm.org>
Date:   Wed Mar 20 16:02:44 2019 +0100

    Fix specification of load_load_barrier [skip-ci]


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

3423664b80ce3c8f5fa3104f3b0a1bcd0e539a02
 includes/stg/SMP.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/stg/SMP.h b/includes/stg/SMP.h
index 4020aef..229115e72 100644
--- a/includes/stg/SMP.h
+++ b/includes/stg/SMP.h
@@ -82,7 +82,7 @@ EXTERN_INLINE void busy_wait_nop(void);
  * Various kinds of memory barrier.
  *  write_barrier: prevents future stores occurring before prededing stores.
  *  store_load_barrier: prevents future loads occurring before preceding stores.
- *  load_load_barrier: prevents future loads occurring before earlier stores.
+ *  load_load_barrier: prevents future loads occurring before earlier loads.
  *
  * Reference for these: "The JSR-133 Cookbook for Compiler Writers"
  * http://gee.cs.oswego.edu/dl/jmm/cookbook.html



More information about the ghc-commits mailing list