A couple of W_s should be P_s (not an actual bug, I think)
authorSimon Marlow <marlowsd@gmail.com>
Wed, 31 Oct 2012 13:49:36 +0000 (13:49 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 1 Nov 2012 10:13:17 +0000 (10:13 +0000)
rts/PrimOps.cmm

index 67a0a5a..6ff7dc0 100644 (file)
@@ -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);