Differences From Artifact [687a3c992c]:
- File src/runtime/selector.m — part of check-in [ee5fd980f8] at 2012-05-07 08:22:32 on branch runtime — Use lower 24 bits of the selector hash. (user: js, size: 2530) [annotate] [blame] [check-ins using]
To Artifact [f394a43240]:
- File src/runtime/selector.m — part of check-in [1315dd59d4] at 2012-05-07 08:24:03 on branch runtime — Abort when all selector slots are exhausted. (user: js, size: 2590) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
56 57 58 59 60 61 62 63 64 65 66 67 68 69 | if (!strcmp(name, sel->name)) { rsel->uid = hash; return; } hash++; } } objc_sparsearray_set(selectors, hash, (void*)sel->name); rsel->uid = hash; } SEL | > > > | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | if (!strcmp(name, sel->name)) { rsel->uid = hash; return; } hash++; } if (hash >= last) ERROR("Selector slots exhausted!"); } objc_sparsearray_set(selectors, hash, (void*)sel->name); rsel->uid = hash; } SEL |
︙ | ︙ |