- static void scanStaticData(gc_t g)
- {
- //debug(PRINTF) printf("+GC.scanStaticData()\n");
- auto pbot = rt_staticDataBottom();
- auto ptop = rt_staticDataTop();
- g.addRange(pbot, ptop - pbot);
- //debug(PRINTF) printf("-GC.scanStaticData()\n");
- }
-
- static void unscanStaticData(gc_t g)
- {
- auto pbot = rt_staticDataBottom();
- g.removeRange(pbot);
- }
-