| 1380 | } |
| 1381 | |
| 1382 | txSlot* fxNewGeneratorFunctionInstance(txMachine* the, txID name) |
| 1383 | { |
| 1384 | txSlot* instance; |
| 1385 | txSlot* property; |
| 1386 | |
| 1387 | instance = fxNewFunctionInstance(the, name); |
| 1388 | property = fxLastProperty(the, instance); |
| 1389 | mxPush(mxGeneratorPrototype); |
| 1390 | fxNewObjectInstance(the); |
| 1391 | fxNextSlotProperty(the, property, the->stack, mxID(_prototype), XS_DONT_DELETE_FLAG | XS_DONT_ENUM_FLAG); |
| 1392 | mxPop(); |
| 1393 | |
| 1394 | return instance; |
| 1395 | } |
| 1396 | |
| 1397 | void fx_GeneratorFunction(txMachine* the) |
| 1398 | { |
nothing calls this directly
no test coverage detected