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

Function fxTraceCode

xs/sources/xsRun.c:317–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315
316#ifdef mxMetering
317static void fxTraceCode(txMachine* the, txSlot* stack, txU1 theCode)
318{
319 if (((XS_NO_CODE < theCode) && (theCode < XS_CODE_COUNT)))
320 fprintf(stderr, "\n%u %ld: %s", the->meterIndex, the->stackTop - stack, gxCodeNames[theCode]);
321 else
322 fprintf(stderr, "\n%u %ld: ?", the->meterIndex, the->stackTop - stack);
323}
324#else
325static void fxTraceCode(txMachine* the, txSlot* stack, txU1 theCode)
326{

Callers 1

fxRunIDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected