summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-07 22:25:13 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-07 22:25:13 +0000
commit83029982dc185974dc4427b0580c7bac290f0d67 (patch)
tree7b5b1201c2005a45056c7a332e4fc25b005f1921 /libobjc
parent48cb632404d9b49ca4f04e47de5a40b8165e7e7b (diff)
downloadgcc-83029982dc185974dc4427b0580c7bac290f0d67.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174775 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog6
-rw-r--r--libobjc/sendmsg.c28
2 files changed, 9 insertions, 25 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index 3a0a0ecacc1..4c6fb5fdf34 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,5 +1,11 @@
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>
+
* objc-private/module-abi-8.h (class_get_instance_size): Removed.
* objects.c (class_create_instance): Removed.
* error.c (__USE_FIXED_PROTOTYPES__): 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 ()
{
@@ -645,18 +644,6 @@ class_add_method_list (Class class, struct objc_method_list * list)
}
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)
{
struct objc_method *m;
@@ -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