Add a write barrier to the TSO link field (#1589)
[ghc-hetmet.git] / rts / Sanity.c
index c9a0772..e90a573 100644 (file)
@@ -652,7 +652,7 @@ checkTSO(StgTSO *tso)
     StgPtr stack_end = stack + stack_size;
 
     if (tso->what_next == ThreadRelocated) {
-      checkTSO(tso->link);
+      checkTSO(tso->_link);
       return;
     }