| 317 | } |
| 318 | |
| 319 | static void fx_Map_groupByAux(txMachine* the) |
| 320 | { |
| 321 | txSlot* instance = mxResult->value.reference; |
| 322 | txSlot* table = instance->next; |
| 323 | txSlot* list = table->next; |
| 324 | txSlot* key = the->stack; |
| 325 | txSlot* entry = fxGetEntry(the, table, key); |
| 326 | if (entry) |
| 327 | mxPushSlot(entry->next); |
| 328 | else { |
| 329 | mxPush(mxArrayPrototype); |
| 330 | fxNewArrayInstance(the); |
| 331 | fxSetEntry(the, table, list, key, the->stack, 0); |
| 332 | } |
| 333 | } |
| 334 | |
| 335 | void fx_Map_groupBy(txMachine* the) |
| 336 | { |
nothing calls this directly
no test coverage detected