| 4644 | } |
| 4645 | |
| 4646 | void fxRunForAwaitOf(txMachine* the) |
| 4647 | { |
| 4648 | txSlot* slot = the->stack; |
| 4649 | fxBeginHost(the); |
| 4650 | mxPushSlot(slot); |
| 4651 | mxDub(); |
| 4652 | mxGetID(mxID(_Symbol_asyncIterator)); |
| 4653 | if (mxIsUndefined(the->stack) || mxIsNull(the->stack)) { |
| 4654 | mxPop(); |
| 4655 | mxPop(); |
| 4656 | fxGetIterator(the, slot, the->stack, C_NULL, 0); |
| 4657 | fxNewAsyncFromSyncIteratorInstance(the); |
| 4658 | } |
| 4659 | else { |
| 4660 | mxCall(); |
| 4661 | mxRunCount(0); |
| 4662 | } |
| 4663 | mxPullSlot(slot); |
| 4664 | fxEndHost(the); |
| 4665 | } |
| 4666 | |
| 4667 | void fxRunForOf(txMachine* the) |
| 4668 | { |
nothing calls this directly
no test coverage detected