[Git][ghc/ghc][wip/T19143] Apply 1 suggestion(s) to 1 file(s)
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Mon Aug 8 14:17:36 UTC 2022
Ben Gamari pushed to branch wip/T19143 at Glasgow Haskell Compiler / GHC
Commits:
77099a04 by Douglas Wilson at 2022-08-08T14:17:32+00:00
Apply 1 suggestion(s) to 1 file(s)
- - - - -
1 changed file:
- rts/include/Cmm.h
Changes:
=====================================
rts/include/Cmm.h
=====================================
@@ -874,6 +874,7 @@
*/
#define setCardsValue(arr, dst_off, n, value) \
W_ __start_card, __end_card, __cards, __dst_cards_p; \
+ ASSERT(n != 0); \
__dst_cards_p = (arr) + SIZEOF_StgMutArrPtrs + WDS(StgMutArrPtrs_ptrs(arr)); \
__start_card = mutArrPtrCardDown(dst_off); \
__end_card = mutArrPtrCardDown((dst_off) + (n) - 1); \
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/77099a04f8e6df0470437512a692494181e65eea
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/77099a04f8e6df0470437512a692494181e65eea
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/20220808/e0d06af1/attachment-0001.html>
More information about the ghc-commits
mailing list