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

Function fxCoderAdd

xs/sources/xsCode.c:1065–1077  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1063}
1064
1065void fxCoderAdd(txCoder* self, txInteger delta, void* it)
1066{
1067 txByteCode* code = it;
1068 if (self->lastCode)
1069 self->lastCode->nextCode = code;
1070 else
1071 self->firstCode = code;
1072 self->lastCode = code;
1073 self->stackLevel += delta;
1074 code->stackLevel = self->stackLevel;
1075// if (self->stackLevel < 0)
1076// c_fprintf(stderr, "# oops %d\n", code->id); //@@
1077}
1078
1079void fxCoderAddBigInt(txCoder* self, txInteger delta, txInteger id, txBigInt* bigint)
1080{

Callers 15

fxCoderAddBigIntFunction · 0.85
fxCoderAddBranchFunction · 0.85
fxCoderAddByteFunction · 0.85
fxCoderAddIndexFunction · 0.85
fxCoderAddIntegerFunction · 0.85
fxCoderAddNumberFunction · 0.85
fxCoderAddStringFunction · 0.85
fxCoderAddSymbolFunction · 0.85
fxCoderAddVariableFunction · 0.85
fxCoderFinalizeTargetsFunction · 0.85
fxCoderJumpTargetsFunction · 0.85
fxScopeCodeUsedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected