| 1229 | } |
| 1230 | |
| 1231 | void fxLoadModulesFulfilled(txMachine* the) |
| 1232 | { |
| 1233 | txSlot* home = mxFunctionInstanceHome(mxFunction->value.reference); |
| 1234 | txSlot* queue = home->value.home.object; |
| 1235 | txSlot* module = home->value.home.module; |
| 1236 | txSlot* internal = mxModuleInstanceInternal(module); |
| 1237 | txSlot* realm = internal->value.module.realm; |
| 1238 | txID moduleID = internal->value.module.id; |
| 1239 | mxTry(the) { |
| 1240 | mxPushReference(module); |
| 1241 | fxMapModuleDescriptor(the, realm, moduleID, the->stack, queue, C_NULL, mxArgv(0)); |
| 1242 | mxPop(); // module |
| 1243 | } |
| 1244 | mxCatch(the) { |
| 1245 | mxPush(mxException); |
| 1246 | mxException = mxUndefined; |
| 1247 | fxCompleteModule(the, module, the->stack); |
| 1248 | fxRunImportRejected(the, module, module); |
| 1249 | mxPop(); |
| 1250 | } |
| 1251 | fxLoadModules(the, queue); |
| 1252 | } |
| 1253 | |
| 1254 | void fxLoadModulesRejected(txMachine* the) |
| 1255 | { |
nothing calls this directly
no test coverage detected