[Git][ghc/ghc][master] Remove unused RTS function 'unmark'

Marge Bot gitlab at gitlab.haskell.org
Fri May 31 06:00:05 UTC 2019



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
c70d039e by Ömer Sinan Ağacan at 2019-05-31T06:00:02Z
Remove unused RTS function 'unmark'

- - - - -


1 changed file:

- rts/sm/Compact.h


Changes:

=====================================
rts/sm/Compact.h
=====================================
@@ -25,16 +25,6 @@ mark(StgPtr p, bdescr *bd)
     *bitmap_word |= bit_mask;
 }
 
-INLINE_HEADER void
-unmark(StgPtr p, bdescr *bd)
-{
-    uint32_t offset_within_block = p - bd->start; // in words
-    StgPtr bitmap_word = (StgPtr)bd->u.bitmap +
-        (offset_within_block / BITS_IN(W_));
-    StgWord bit_mask = (StgWord)1 << (offset_within_block & (BITS_IN(W_) - 1));
-    *bitmap_word &= ~bit_mask;
-}
-
 INLINE_HEADER StgWord
 is_marked(StgPtr p, bdescr *bd)
 {



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/c70d039e5fa1a8dc0163b1fe7db5b0105b832d30

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/c70d039e5fa1a8dc0163b1fe7db5b0105b832d30
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/20190531/b244c319/attachment-0001.html>


More information about the ghc-commits mailing list