|
|
|
@ -23,8 +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))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// 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.
|
|
|
|
|
|
|
|
add_method_list_to_class(cls, l);
|
|
|
|
add_method_list_to_class(cls, l);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|