ObjFW  Check-in [c03268e4c6]

Overview
Comment:Avoid useless looking for +[load] method.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | runtime
Files: files | file ages | folders
SHA3-256: c03268e4c64f5ee7f0f78ca0924f0cc9febb8a44f0bc3bd063bf75e69e367cd2
User & Date: js on 2012-04-21 13:04:49
Other Links: branch diff | manifest | tags
Context
2012-04-21
13:05
Properly copy methods from superclass first. check-in: 8c368f8f38 user: js tags: runtime
13:04
Avoid useless looking for +[load] method. check-in: c03268e4c6 user: js tags: runtime
12:52
Move objc_classname_to_class. check-in: 7bbd6e43fe user: js tags: runtime
Changes

Modified src/runtime/class.m from [59d640393e] to [aa051ec745].

268
269
270
271
272
273
274
275


276
277
278
279
280
281
282
268
269
270
271
272
273
274

275
276
277
278
279
280
281
282
283







-
+
+








				if (load_queue == NULL)
					ERROR("Not enough memory for load "
					    "queue!");

				load_queue[load_queue_cnt++] = cls_;
			}
		}
		} else
			cls->info |= OBJC_CLASS_INFO_LOADED;
	}

	/* Process load queue */
	for (i = 0; i < load_queue_cnt; i++) {
		setup_class(load_queue[i]);

		if (load_queue[i]->info & OBJC_CLASS_INFO_SETUP) {