mirror of git://gcc.gnu.org/git/gcc.git
In libobjc/: 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/: 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com> * sendmsg.c (class_get_instance_method): Removed. (class_get_class_method): Removed. (objc_get_uninstalled_dtable): Removed. From-SVN: r174775
This commit is contained in:
parent
0b0b41a89e
commit
d05809afcf
|
@ -1,3 +1,9 @@
|
||||||
|
2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||||
|
|
||||||
|
* sendmsg.c (class_get_instance_method): Removed.
|
||||||
|
(class_get_class_method): Removed.
|
||||||
|
(objc_get_uninstalled_dtable): Removed.
|
||||||
|
|
||||||
2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
|
2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||||
|
|
||||||
* objc-private/module-abi-8.h (class_get_instance_size): Removed.
|
* objc-private/module-abi-8.h (class_get_instance_size): Removed.
|
||||||
|
|
|
@ -62,7 +62,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||||
#define INVISIBLE_STRUCT_RETURN 0
|
#define INVISIBLE_STRUCT_RETURN 0
|
||||||
#endif
|
#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 */
|
struct sarray *__objc_uninstalled_dtable = 0; /* !T:MUTEX */
|
||||||
|
|
||||||
/* Two hooks for method forwarding. If either is set, it is invoked to
|
/* 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;
|
return (IMP)nil_method;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct objc_method *
|
|
||||||
class_get_instance_method (Class class, SEL op);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
__objc_init_dispatch_tables ()
|
__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);
|
__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 *
|
struct objc_method *
|
||||||
class_getInstanceMethod (Class class_, SEL selector)
|
class_getInstanceMethod (Class class_, SEL selector)
|
||||||
{
|
{
|
||||||
|
@ -1001,15 +988,6 @@ __objc_print_dtable_stats (void)
|
||||||
objc_mutex_unlock (__objc_runtime_mutex);
|
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;
|
static cache_ptr prepared_dtable_table = 0;
|
||||||
|
|
||||||
/* This function is called by: objc_msg_lookup, get_imp and
|
/* This function is called by: objc_msg_lookup, get_imp and
|
||||||
|
|
Loading…
Reference in New Issue