>That's what confused me too. But now I think that must have been for
>PMC registers only, not string registers.

 From the archive:

So speaketh Dan.....

 >I seem to remember someone unpatching a couple of if (NULL == string)
 >statements recently.  I'll be blunt and say: DON'T DO THAT.  Defensive
 >programming is good, segfaulting is bad, remember?

There's no checking on purpose. We're assuming that the interpreter's
internal state is consistent, and that the code compilers emit is
correct.

The Safe-mode interpreter can and will check both S and P registers
for correctness in the opcode functions, but the base interpreter can
skip it.
-- 
                                          Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                        teddy bears get drunk



Reply via email to