]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/gcc-tumbl.git/commitdiff
In libobjc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Jun 2011 17:02:03 +0000 (17:02 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Jun 2011 17:02:03 +0000 (17:02 +0000)
2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>

* Object.m ([-forward::]): Removed.
* objc/deprecated/Object.h ([-forward::]): Removed.
* sendmsg.c (__objc_forward): Updated comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174607 138bc75d-0d04-0410-961f-82ee72b054a4

libobjc/ChangeLog
libobjc/Object.m
libobjc/objc/deprecated/Object.h
libobjc/sendmsg.c

index 86c34b51c19182c8b185557afd164bd6d6fcbdff..bef84e74d340ae587c668c8369ab77e206a86df3 100644 (file)
@@ -1,3 +1,9 @@
+2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * Object.m ([-forward::]): Removed.
+       * objc/deprecated/Object.h ([-forward::]): Removed.
+       * sendmsg.c (__objc_forward): Updated comments.
+       
 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
 
        * Makefile.in (OBJC_H): Removed objc-list.h.
index 7e414c4014d1f70fe2ff2606ab762483353b2075..281be832005a0137d0e5db18f38c4f0b84463f86 100644 (file)
@@ -248,12 +248,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
             :class_get_class_method(self->isa, aSel)));
 }
 
-- (retval_t)forward:(SEL)aSel :(arglist_t)argFrame
-{
-  (void) argFrame; /* UNUSED */
-  return (retval_t)[self doesNotRecognize: aSel];
-}
-
 - (retval_t)performv:(SEL)aSel :(arglist_t)argFrame
 {
   return objc_msg_sendv(self, aSel, argFrame);
index 91b9a86d06ef084bc827e963f4cfb6ca0fb93ad4..d7924e0476137f4a88926dba6e604d8673ff75ce 100644 (file)
@@ -49,7 +49,6 @@
 - (struct objc_method_description *)descriptionForMethod:(SEL)aSel;
 
 /* Forwarding */
-- (retval_t)forward:(SEL)aSel :(arglist_t)argFrame;
 - (retval_t)performv:(SEL)aSel :(arglist_t)argFrame;
 
 /* Posing */
index 137731ae9d174a69aa16f4188786a0c3990f1f86..bb525b155b4886bef995412fc8a372d45c9c2348 100644 (file)
@@ -936,9 +936,12 @@ __objc_block_forward (id rcv, SEL op, ...)
 }
 
 
-/* This function is installed in the dispatch table for all methods
-   which are not implemented.  Thus, it is called when a selector is
-   not recognized.  */
+/* This function is called for methods which are not implemented,
+   unless a custom forwarding routine has been installed.  Please note
+   that most serious users of libobjc (eg, GNUstep base) do install
+   their own forwarding routines, and hence this is never actually
+   used.  But, if no custom forwarding routine is installed, this is
+   called when a selector is not recognized.  */
 static retval_t
 __objc_forward (id object, SEL sel, arglist_t args)
 {