PATCH: Objective-C method lookup

Stan Shebs shebs@apple.com
Wed Sep 5 17:27:00 GMT 2001


Ziemowit Laski wrote:
> 
> This patch fixes a bug in ObjC method lookup.  When a lookup
> of a CLASS method fails during a message send, the runtime then
> attempts to locate an INSTANCE method of the ROOT class (the
> latter usually -- though not always -- being NSObject) and
> invoke that method instead.  The front-end currently does not
> handle that special case correctly, emitting a spurious
> warning.

Thanks, I've just committed this to the trunk.

Stan



More information about the Gcc-patches mailing list