* sendmsg.c (__objc_get_forward_imp): Call
__objc_msg_forward2 for real.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124035
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-04-21 Andrew Ruder <andy@aeruder.net>
+
+ * sendmsg.c (__objc_get_forward_imp): Call
+ __objc_msg_forward2 for real.
+
2007-04-09 Andrew Ruder <andy@aeruder.net>
* sendmsg.c: Added __objc_msg_forward2, a hook that allows
/* If a custom forwarding hook was registered, try getting a forwarding
function from it. There are two forward routine hooks, one that
takes the receiver as an argument and one that does not. */
+ if (__objc_msg_forward2)
+ {
+ IMP result;
+ if ((result = __objc_msg_forward2 (rcv, sel)) != NULL)
+ return result;
+ }
if (__objc_msg_forward)
{
IMP result;