From: mrjoltc...@mindspring.com (Melvin Smith)
Date: Sun, 26 Oct 2003 13:39:24 -0500
Local: Sun, Oct 26 2003 1:39 pm
Subject: NULL Px proposal (was Re: [BUG] IMCC looking in P3 for 1st arg)
At 07:21 PM 10/26/2003 +0100, Leopold Toetsch wrote:
>Steve Fink <st...@fink.com> wrote:This is an old discussion. While I agree with Leo (and Dan) on not putting
> > Although this does bring up another issue -- should parrot really be
>The problem is of course that we call pmc->vtable->some_meth_od() on a
checks everywhere, I also think segfaulting on faulty bytecode is
violating the "Virtual Machine" contract.
I also don't wan't to see the performance hit of checking PMC regs everywhere.
I think a compromise would be to do define a interpreter global PMCNull
All methods in this class would be implemented to throw an exception or
This way we never have a NULL pointer access with regards to Px regs.
The downside is fast initialization of register blocks. memsetting with
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.