On Tuesday, December 2, 2003, at 11:49 , Melvin Smith wrote:

At 07:59 PM 12/2/2003 -0800, Steve Fink wrote:

Do you really want to generate the extra unused code at the end of all the subroutines? I don't think you want to autodetect whether the code is guaranteed to return.

Good point. Its easy to detect returns if the code uses high level IMC directives, but in cases where it is all low-level PASM, it could get a little troublesome. It would also add a few dead instructions here and there. Nix that idea.

Maybe just pad the end of the compilation unit with the opcode equivalent of PMCNULL, to fire an exception rather than having undefined behavior?




Gordon Henriksen
[EMAIL PROTECTED]

Reply via email to