[Git][ghc/ghc][master] Add missing BCO handling in scavenge_one.
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Sat Feb 17 11:01:30 UTC 2024
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
902ebcc2 by Ian-Woo Kim at 2024-02-17T06:01:01-05:00
Add missing BCO handling in scavenge_one.
- - - - -
1 changed file:
- rts/sm/Scav.c
Changes:
=====================================
rts/sm/Scav.c
=====================================
@@ -1594,6 +1594,14 @@ scavenge_one(StgPtr p)
#endif
break;
+ case BCO: {
+ StgBCO *bco = (StgBCO *)p;
+ evacuate((StgClosure **)&bco->instrs);
+ evacuate((StgClosure **)&bco->literals);
+ evacuate((StgClosure **)&bco->ptrs);
+ break;
+ }
+
case COMPACT_NFDATA:
scavenge_compact((StgCompactNFData*)p);
break;
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/902ebcc2b95707319d37a19d6b23c342cc14b162
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/902ebcc2b95707319d37a19d6b23c342cc14b162
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/20240217/2192d0e7/attachment-0001.html>
More information about the ghc-commits
mailing list