Differences From Artifact [0d2c7753b9]:
- File src/runtime/class.m — part of check-in [e35b10115e] at 2014-05-14 20:28:11 on branch trunk — Always use __foo__ instead of foo for attributes (user: js, size: 19097) [annotate] [blame] [check-ins using]
To Artifact [e257cf48b1]:
- File
src/runtime/class.m
— part of check-in
[428520105b]
at
2014-05-15 03:39:47
on branch trunk
— objc_exit(): Fix the first class not being free'd
Also cleans up runtime/hashtable.m a little. (user: js, size: 19276) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
904 905 906 907 908 909 910 911 | continue; objc_unregister_class(cls); /* * The table might have been resized, so go back to the * start again. */ | > > > > | | 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 | continue; objc_unregister_class(cls); /* * The table might have been resized, so go back to the * start again. * * Due to the i++ in the for loop, we need to set it to * UINT_FAST32_MAX so that it will get increased at the * end of the loop and thus become 0. */ i = UINT_FAST32_MAX; } } assert(classes_cnt == 0); if (empty_dtable != NULL) { objc_sparsearray_free(empty_dtable); |
︙ | ︙ |