| 1 | // builtin_d_vgc.c.v - V Garbage Collector additional support |
| 2 | // Conditionally compiled when -d vgc is used. |
| 3 | // The gc_heap_usage/gc_memory_use functions are in allocation.c.v with $if vgc ? branches. |
| 4 | |
| 5 | module builtin |
| 6 | |
| 7 | // This file exists to ensure the vgc compile define activates VGC-specific code paths |
| 8 | // throughout the builtin module. The actual VGC implementation is in: |
| 9 | // - vgc_d_vgc.c.v: Core types, heap, allocation |
| 10 | // - vgc_gc_d_vgc.c.v: GC mark, sweep, orchestration |
| 11 |