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

Function fxCoderAddBranch

xs/sources/xsCode.c:1087–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1085}
1086
1087void fxCoderAddBranch(txCoder* self, txInteger delta, txInteger id, txTargetCode* target)
1088{
1089 txBranchCode* code = fxNewParserChunkClear(self->parser, sizeof(txBranchCode));
1090 fxCoderAdd(self, delta, code);
1091 code->id = id;
1092 code->target = target;
1093 target->used = 1;
1094}
1095
1096void fxCoderAddByte(txCoder* self, txInteger delta, txInteger id)
1097{

Callers 15

fxCoderFinalizeTargetsFunction · 0.85
fxCoderJumpTargetsFunction · 0.85
fxScopeCodeUsedFunction · 0.85
fxScopeCodeUsedReverseFunction · 0.85
fxScopeCodeUsingFunction · 0.85
fxAndExpressionNodeCodeFunction · 0.85
fxArrayNodeCodeFunction · 0.85
fxAwaitNodeCodeFunction · 0.85
fxBindingNodeCodeAssignFunction · 0.85
fxBreakContinueNodeCodeFunction · 0.85

Calls 2

fxNewParserChunkClearFunction · 0.85
fxCoderAddFunction · 0.85

Tested by

no test coverage detected