|
|
|
@ -23,7 +23,6 @@ static void register_methods(struct objc_class *cls, struct objc_method_list *l)
|
|
|
|
// loaded if the class hasn't received any messages yet.
|
|
|
|
// loaded if the class hasn't received any messages yet.
|
|
|
|
if (classHasDtable(cls))
|
|
|
|
if (classHasDtable(cls))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
fprintf(stderr, "Updating dtable for %s\n", class_getName(cls));
|
|
|
|
|
|
|
|
// FIXME: We can make this more efficient by simply passing the new method
|
|
|
|
// FIXME: We can make this more efficient by simply passing the new method
|
|
|
|
// list to the dtable and telling it only to update those methods.
|
|
|
|
// list to the dtable and telling it only to update those methods.
|
|
|
|
objc_update_dtable_for_class(cls);
|
|
|
|
objc_update_dtable_for_class(cls);
|
|
|
|
|