summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-07 21:36:57 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-07 21:36:57 +0000
commit4173faf53e5b1df73242e6554ca6f5daf6aeaa02 (patch)
tree094bedf01058b1650a9e74043d755d066f221407 /libobjc
parent3930fde0cc1b76846fd0f4ee14fb33e4b5715911 (diff)
downloadgcc-4173faf53e5b1df73242e6554ca6f5daf6aeaa02.tar.gz
In libobjc/:
2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com> * encoding.c (method_get_number_of_arguments): Removed. (method_get_sizeof_arguments): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174768 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog5
-rw-r--r--libobjc/encoding.c16
2 files changed, 5 insertions, 16 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index b885f9d735c..ea16b82884b 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,5 +1,10 @@
2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
+ * encoding.c (method_get_number_of_arguments): Removed.
+ (method_get_sizeof_arguments): Removed.
+
+2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
+
* class.c (objc_next_class): Removed.
(class_pose_as): Removed.
(CLASSOF): Removed.
diff --git a/libobjc/encoding.c b/libobjc/encoding.c
index d392193f707..bd8b67e0e8b 100644
--- a/libobjc/encoding.c
+++ b/libobjc/encoding.c
@@ -993,22 +993,6 @@ method_getNumberOfArguments (struct objc_method *method)
}
}
-int
-method_get_number_of_arguments (struct objc_method *mth)
-{
- return method_getNumberOfArguments (mth);
-}
-
-/* Return the size of the argument block needed on the stack to invoke
- the method MTH. This may be zero, if all arguments are passed in
- registers. */
-int
-method_get_sizeof_arguments (struct objc_method *mth)
-{
- const char *type = objc_skip_typespec (mth->method_types);
- return atoi (type);
-}
-
unsigned
objc_get_type_qualifiers (const char *type)
{