discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with forward invocation (gcc bug?)


From: Helge Hess
Subject: Re: problems with forward invocation (gcc bug?)
Date: Wed, 01 Aug 2001 16:14:31 +0200

Wim Oudshoorn wrote:
> Well, I see a problem ;-) Ok, the problem is the following, as pointed
> out by Richard Frith-Macdonald.
> 
> A.  In forwarding code you NEED the return type in order to
>     retrieve the receiver from stack.
> B.  You need the receiver to correctly determine the return
>     type.

Ok, missed that we don't have the receiver without decoding the stack
which needs the receiver ;-). Problem understood: Chicken & Egg.

> Best would be if the compiler generates a typed selector
> for all method invocations, where the type describes
> the stack layout used in the call.  But things work
> pretty well without that :-)

Agreed.

Greetings
  Helge
-- 
SKYRIX Software AG - http://www.skyrix.com
Web Application Technology for Enterprises



reply via email to

[Prev in Thread] Current Thread [Next in Thread]