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

Function fxCoderAdjustScope

xs/sources/xsCode.c:1195–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1193}
1194
1195void fxCoderAdjustScope(txCoder* self, txTargetCode* target)
1196{
1197 txInteger count = self->scopeLevel - target->scopeLevel;
1198 if (count)
1199 fxCoderAddIndex(self, 0, XS_CODE_UNWIND_1, count);
1200}
1201
1202txTargetCode* fxCoderAliasTargets(txCoder* self, txTargetCode* target)
1203{

Callers 6

fxCoderJumpTargetsFunction · 0.85
fxAwaitNodeCodeFunction · 0.85
fxBreakContinueNodeCodeFunction · 0.85
fxDelegateNodeCodeFunction · 0.85
fxReturnNodeCodeFunction · 0.85
fxYieldNodeCodeFunction · 0.85

Calls 1

fxCoderAddIndexFunction · 0.85

Tested by

no test coverage detected