Overview
Comment: | Generalize runtime/hashtable.m |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8d930f2067244ad088ee6958a5f79246 |
User & Date: | js on 2014-03-22 17:56:09 |
Other Links: | manifest | tags |
Context
2014-03-23
| ||
00:15 | Remove -Wno-deprecated-objc-pointer-introspection check-in: f3154a74aa user: js tags: trunk | |
2014-03-22
| ||
17:56 | Generalize runtime/hashtable.m check-in: 8d930f2067 user: js tags: trunk | |
2014-03-19
| ||
18:05 | macros.h: Never define static_assert to assert check-in: 61369b9d26 user: js tags: trunk | |
Changes
Modified src/runtime/category.m from [b9b6c831df] to [cc568b9dbb].
︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | - + + | static void register_category(struct objc_abi_category *cat) { struct objc_abi_category **cats; Class cls = objc_classname_to_class(cat->class_name, false); if (categories == NULL) |
︙ | |||
119 120 121 122 123 124 125 | 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | - + | objc_unregister_all_categories(void) { uint32_t i; if (categories == NULL) return; |
Modified src/runtime/class.m from [e32de8ba86] to [cb99b9ea3b].
︙ | |||
37 38 39 40 41 42 43 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | - + + | static unsigned lookups_till_fast_path = 128; static struct sparsearray *sparsearray = NULL; static void register_class(struct objc_abi_class *cls) { if (classes == NULL) |
︙ | |||
520 521 522 523 524 525 526 | 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 | - + | if (buf == NULL) return classes_cnt; if (classes_cnt < count) count = classes_cnt; |
︙ | |||
854 855 856 857 858 859 860 | 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 | - + | objc_unregister_all_classes(void) { uint_fast32_t i; if (classes == NULL) return; |
︙ |
Modified src/runtime/hashtable.m from [7dd989f99f] to [2de01382c7].
︙ | |||
21 22 23 24 25 26 27 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | - + + + + + + + + - + + - + - - + + + + - - - + + + - + - - - - + - + - + - + - - - + + + - + + + + - + - - + - - - - + - + - - + + - + + - + - + - - - + + + - + + - + - + - + - - + + - + - + - - + + - + - - + + - + + - + - + - + - + - + - + - + - - - + + + - - + + | #include <stdint.h> #include <string.h> #import "runtime.h" #import "runtime-private.h" uint32_t |
Modified src/runtime/runtime-private.h from [0e0bd3f946] to [75ef745292].
︙ | |||
87 88 89 90 91 92 93 | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | - - + - - + + + | unsigned long version; /* 9 = non-fragile */ unsigned long size; const char *name; struct objc_abi_symtab *symtab; }; struct objc_hashtable_bucket { |
︙ | |||
125 126 127 128 129 130 131 | 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | - - - + + + + + - + | extern void objc_unregister_all_categories(void); extern void objc_initialize_class(Class); extern void objc_update_dtable(Class); extern void objc_register_all_classes(struct objc_abi_symtab*); extern Class objc_classname_to_class(const char*, bool); extern void objc_unregister_class(Class); extern void objc_unregister_all_classes(void); |
︙ |
Modified src/runtime/selector.m from [915bbfe8d7] to [c556b01892].
︙ | |||
43 44 45 46 47 48 49 | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | - + + | struct objc_selector *rsel; const char *name; if (selectors_cnt > SEL_MAX) OBJC_ERROR("Out of selector slots!"); if (selectors == NULL) |
︙ |