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

Function fxIndexSlot

xs/tools/xslOpt.c:104–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void fxIndexSlot(txLinker* linker, txSlot* slot, txInteger index)
105{
106 txLinkerProjection* projection = linker->firstProjection;
107 while (projection) {
108 if ((projection->heap < slot) && (slot < projection->limit)) {
109 projection->indexes[slot - projection->heap] = index;
110 linker->layout[index] = slot;
111 return;
112 }
113 projection = projection->nextProjection;
114 }
115}
116
117void fxLinkColorEntry(txColorTable* colorTable, txColorEntry* colorEntry)
118{

Callers 1

fxOptimizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected