[commit: ghc] master: A couple of W_s should be P_s (not an actual bug, I think) (d28a722)

Simon Marlow <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/d28a72233550a907533751a6c4fccc472e5be4a0

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

commit d28a72233550a907533751a6c4fccc472e5be4a0
Author: Simon Marlow <[email protected]>
Date:   Wed Oct 31 13:49:36 2012 +0000

    A couple of W_s should be P_s (not an actual bug, I think)

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

 rts/PrimOps.cmm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm
index 67a0a5a..6ff7dc0 100644
--- a/rts/PrimOps.cmm
+++ b/rts/PrimOps.cmm
@@ -1070,8 +1070,8 @@ stg_newTVarzh (P_ init)
 
 stg_readTVarzh (P_ tvar)
 {
-  W_ trec;
-  W_ result;
+  P_ trec;
+  P_ result;
 
   // Call to stmReadTVar may allocate
   MAYBE_GC_P (stg_readTVarzh, tvar);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.