The ObjC representation of calls to objc_msgSend was
changed to use OBJ_TYPE_REF rather than NOP_EXPR. Nobody
taught get_callee_fndecl about this change, which means that such
calls are treated as calls through a pointer. This is wrong and a
regression.
However, I don't know of any user-visible effect this has, so I can't
provide a testcase, and you may consider this isn't suitable for stage
3.
(I know about it because it broke a local Apple patch.) Built on
darwin and ObjC testsuite run (change is local to ObjC bits).
2004-12-21 Dale Johannesen <dalej@apple.com>
* objc/objc-act.c (objc_get_callee_fndecl): New.
* objc/objc-act.h: Declare it.
* objc/objc-lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Use it.
<diffs.txt>