[fpc-devel]raise's exceptaddr

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed May 15 11:02:14 CEST 2002


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.

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).

Michael.





More information about the fpc-devel mailing list