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

Function fxAndExpressionNodeCode

xs/sources/xsCode.c:2121–2132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2119}
2120
2121void fxAndExpressionNodeCode(void* it, void* param)
2122{
2123 txBinaryExpressionNode* self = it;
2124 txTargetCode* endTarget = fxCoderCreateTarget(param);
2125 self->right->flags |= (self->flags & mxTailRecursionFlag);
2126 fxNodeDispatchCode(self->left, param);
2127 fxCoderAddByte(param, 1, XS_CODE_DUB);
2128 fxCoderAddBranch(param, -1, XS_CODE_BRANCH_ELSE_1, endTarget);
2129 fxCoderAddByte(param, -1, XS_CODE_POP);
2130 fxNodeDispatchCode(self->right, param);
2131 fxCoderAdd(param, 0, endTarget);
2132}
2133
2134void fxArgumentsNodeCode(void* it, void* param)
2135{

Callers

nothing calls this directly

Calls 5

fxCoderCreateTargetFunction · 0.85
fxNodeDispatchCodeFunction · 0.85
fxCoderAddByteFunction · 0.85
fxCoderAddBranchFunction · 0.85
fxCoderAddFunction · 0.85

Tested by

no test coverage detected