From: Nicola Pero Date: Tue, 7 Jun 2011 21:36:57 +0000 (+0000) Subject: In libobjc/: 2011-06-07 Nicola Pero X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=338efe0d54885f66865f9c09f87ee413f7b6f1a2;p=gcc.git In libobjc/: 2011-06-07 Nicola Pero In libobjc/: 2011-06-07 Nicola Pero * encoding.c (method_get_number_of_arguments): Removed. (method_get_sizeof_arguments): Removed. From-SVN: r174768 --- diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index b885f9d735c..ea16b82884b 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,8 @@ +2011-06-07 Nicola Pero + + * encoding.c (method_get_number_of_arguments): Removed. + (method_get_sizeof_arguments): Removed. + 2011-06-07 Nicola Pero * class.c (objc_next_class): 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) {