| 1376 | } |
| 1377 | |
| 1378 | txSlot* fxCanBeHeldWeakly(txMachine* the, txSlot* slot) |
| 1379 | { |
| 1380 | if (slot->kind == XS_REFERENCE_KIND) |
| 1381 | slot = slot->value.reference; |
| 1382 | #if mxKeysGarbageCollection |
| 1383 | else if (slot->kind == XS_SYMBOL_KIND) { |
| 1384 | slot = fxGetKey(the, slot->value.symbol); |
| 1385 | if (slot->kind == XS_REFERENCE_KIND) |
| 1386 | slot = slot->value.reference; |
| 1387 | else |
| 1388 | slot = C_NULL; |
| 1389 | } |
| 1390 | #endif |
| 1391 | else |
| 1392 | slot = C_NULL; |
| 1393 | return slot; |
| 1394 | } |
| 1395 | |
| 1396 | txSlot* fxCheckWeakMapInstance(txMachine* the, txSlot* slot, txBoolean mutable) |
| 1397 | { |
no outgoing calls
no test coverage detected