MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxMarkID

Function fxMarkID

xs/sources/xsMemory.c:841–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

839
840#if mxKeysGarbageCollection
841void fxMarkID(txMachine* the, txID id)
842{
843 txSlot* slot;
844 if (id == XS_NO_ID)
845 return;
846 if (id < the->keyOffset)
847 return;
848 id -= the->keyOffset;
849 slot = the->keyArray[id];
850 slot->flag |= XS_MARK_FLAG;
851}
852#endif
853
854void fxMarkFinalizationRegistry(txMachine* the, txSlot* registry)

Callers 3

fxMarkInstanceFunction · 0.85
fxMarkReferenceFunction · 0.85
fxMarkValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected