| 2319 | } |
| 2320 | |
| 2321 | void fxRunImportFulfilled(txMachine* the, txSlot* module, txSlot* with) |
| 2322 | { |
| 2323 | if (mxModuleInstanceMeta(module)->next) { |
| 2324 | txSlot* stack = the->stack; |
| 2325 | txSlot* slot = mxModuleInstanceFulfill(module); |
| 2326 | while (slot) { |
| 2327 | mxPushSlot(slot); |
| 2328 | slot = slot->next; |
| 2329 | slot = slot->next; |
| 2330 | } |
| 2331 | mxModuleInstanceMeta(module)->next = C_NULL; |
| 2332 | slot = stack; |
| 2333 | while (slot > the->stack) { |
| 2334 | slot--; |
| 2335 | /* THIS */ |
| 2336 | mxPushUndefined(); |
| 2337 | /* FUNCTION */ |
| 2338 | mxPushSlot(slot); |
| 2339 | mxCall(); |
| 2340 | /* ARGUMENTS */ |
| 2341 | mxPushReference(with); |
| 2342 | mxRunCount(1); |
| 2343 | mxPop(); |
| 2344 | } |
| 2345 | the->stack = stack; |
| 2346 | } |
| 2347 | } |
| 2348 | |
| 2349 | void fxRunImportRejected(txMachine* the, txSlot* module, txSlot* with) |
| 2350 | { |
no outgoing calls
no test coverage detected