[fpc-devel]raise's exceptaddr

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Thu May 16 20:25:59 CEST 2002


On Thu, 16 May 2002, Florian Klaempfl wrote:

> At 11:02 15.05.02 +0200, you wrote:
>
>
> >On Fri, 3 May 2002, Aleksey V. Vaneev wrote:
> >
> > > Hello,
> > >
> > >   Could you implement a dedicated exceptaddr frame creation for raise
> > >   statements? Because now if raise uses some ansistring constructor,
> > >   it automatically creates exception frame for the whole procedure
> > >   where raise was placed. But in most cases exception is not raised
> > >   and exception frame becames a burden for the whole procedure,
> > >   especially if ansistrings generally were not used.
>
> I see your point, but implementing this especially for raise seems to
> require a lot of effort and the speed gain will be little ... especially
> because the 1.1 compiler has an optimized exception frame handling.
>
>
> >The frame will always be created. As soon as ansistrings is used
> >in a procedure, an exception frame is created in a procedure -
> >always. Even is no raise statement is present (an exception could
> >e.g. be raised in a called procedure).
>
> Hmmm, please reread the quoted original email, Michael :)!

Yes. I misunderstood what he wanted to say :/

Michael.






More information about the fpc-devel mailing list