On Tue, Mar 03, 2009 at 11:01:22AM +1100, Vasily Chekalkin wrote:
> Patrick R. Michaud wrote:
>>> Is it feasible to catch all "Null PMC access" exceptions at the
>>> top-level, promote PMCNULL to Undef (or Failure) and resume from
>>> exception?
>>
>> Good thinking... but there's not anything to "promote" -- i.e., from an
>> exception handler we wouldn't have the ability to change the register that
>> has the PMCNULL.
>
> Ouch. Looks like '!NULLORUNDEF' subroutine which returns boolean one of 
> few possible variants?

No, we can clean it up better at the source than we can by spreading
lots of NULLORUNDEF calls throughout the codebase.

Pm

Reply via email to