| 2347 | } |
| 2348 | |
| 2349 | void fxRunImportRejected(txMachine* the, txSlot* module, txSlot* with) |
| 2350 | { |
| 2351 | if (mxModuleInstanceMeta(module)->next) { |
| 2352 | txSlot* stack = the->stack; |
| 2353 | txSlot* slot = mxModuleInstanceFulfill(module); |
| 2354 | txSlot* exception; |
| 2355 | while (slot) { |
| 2356 | slot = slot->next; |
| 2357 | mxPushSlot(slot); |
| 2358 | slot = slot->next; |
| 2359 | } |
| 2360 | mxModuleInstanceMeta(module)->next = C_NULL; |
| 2361 | exception = mxModuleInstanceMeta(with); |
| 2362 | slot = stack; |
| 2363 | while (slot > the->stack) { |
| 2364 | slot--; |
| 2365 | /* THIS */ |
| 2366 | mxPushUndefined(); |
| 2367 | /* FUNCTION */ |
| 2368 | mxPushSlot(slot); |
| 2369 | mxCall(); |
| 2370 | /* ARGUMENTS */ |
| 2371 | mxPushSlot(exception); |
| 2372 | mxRunCount(1); |
| 2373 | mxPop(); |
| 2374 | } |
| 2375 | the->stack = stack; |
| 2376 | } |
| 2377 | } |
| 2378 | |
| 2379 | /* META */ |
| 2380 |
no outgoing calls
no test coverage detected