diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 3a0a0ecacc1..4c6fb5fdf34 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,9 @@ +2011-06-07 Nicola Pero + + * sendmsg.c (class_get_instance_method): Removed. + (class_get_class_method): Removed. + (objc_get_uninstalled_dtable): Removed. + 2011-06-07 Nicola Pero * objc-private/module-abi-8.h (class_get_instance_size): Removed. diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c index 61ca3b3f12f..8aa266dd11f 100644 --- a/libobjc/sendmsg.c +++ b/libobjc/sendmsg.c @@ -62,7 +62,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define INVISIBLE_STRUCT_RETURN 0 #endif -/* The uninstalled dispatch table. */ +/* The uninstalled dispatch table. If a class' dispatch table points + to __objc_uninstalled_dtable then that means it needs its dispatch + table to be installed. */ struct sarray *__objc_uninstalled_dtable = 0; /* !T:MUTEX */ /* Two hooks for method forwarding. If either is set, it is invoked to @@ -469,9 +471,6 @@ objc_msg_lookup_super (struct objc_super *super, SEL sel) return (IMP)nil_method; } -struct objc_method * -class_get_instance_method (Class class, SEL op); - void __objc_init_dispatch_tables () { @@ -644,18 +643,6 @@ class_add_method_list (Class class, struct objc_method_list * list) __objc_update_dispatch_table_for_class (class); } -struct objc_method * -class_get_instance_method (Class class, SEL op) -{ - return search_for_method_in_hierarchy (class, op); -} - -struct objc_method * -class_get_class_method (Class class, SEL op) -{ - return search_for_method_in_hierarchy (class, op); -} - struct objc_method * class_getInstanceMethod (Class class_, SEL selector) { @@ -1001,15 +988,6 @@ __objc_print_dtable_stats (void) objc_mutex_unlock (__objc_runtime_mutex); } -/* Returns the uninstalled dispatch table indicator. If a class' - dispatch table points to __objc_uninstalled_dtable then that means - it needs its dispatch table to be installed. */ -struct sarray * -objc_get_uninstalled_dtable (void) -{ - return __objc_uninstalled_dtable; -} - static cache_ptr prepared_dtable_table = 0; /* This function is called by: objc_msg_lookup, get_imp and