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

Function fxLoadModuleStuffFulfilled

xs/sources/xsModule.c:3558–3576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3556}
3557
3558void fxLoadModuleStuffFulfilled(txMachine* the)
3559{
3560 txSlot* home = mxFunctionInstanceHome(mxFunction->value.reference);
3561 txSlot* queue = home->value.home.object;
3562 txSlot* module = home->value.home.module;
3563 mxTry(the) {
3564 mxPushReference(module);
3565 fxLoadModuleStuff(the, queue, the->stack, mxArgv(0));
3566 mxPop();
3567 }
3568 mxCatch(the) {
3569 mxPush(mxException);
3570 mxException = mxUndefined;
3571 fxCompleteModule(the, module, the->stack);
3572 fxRunImportRejected(the, module, module);
3573 mxPop();
3574 }
3575 fxLoadModules(the, queue);
3576}
3577
3578void fxLoadModuleStuffRejected(txMachine* the)
3579{

Callers

nothing calls this directly

Calls 4

fxLoadModuleStuffFunction · 0.85
fxCompleteModuleFunction · 0.85
fxRunImportRejectedFunction · 0.85
fxLoadModulesFunction · 0.85

Tested by

no test coverage detected