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

Function fxRunInstanceOf

xs/sources/xsRun.c:4697–4712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4695}
4696
4697void fxRunInstanceOf(txMachine* the)
4698{
4699 txSlot* left = the->stack + 1;
4700 txSlot* right = the->stack;
4701 fxBeginHost(the);
4702 mxPushSlot(right);
4703 mxDub();
4704 mxGetID(mxID(_Symbol_hasInstance));
4705 mxCall();
4706 mxPushSlot(left);
4707 mxRunCount(1);
4708 fxToBoolean(the, the->stack);
4709 mxPullSlot(left);
4710 fxEndHost(the);
4711 mxPop();
4712}
4713
4714void fxRunInstantiate(txMachine* the)
4715{

Callers 1

xsRun.cFile · 0.85

Calls 3

fxBeginHostFunction · 0.85
fxToBooleanFunction · 0.85
fxEndHostFunction · 0.85

Tested by

no test coverage detected