At 6:59 PM -0500 2/23/02, Bryan C. Warnock wrote:
>On Saturday 23 February 2002 13:12, Dan Sugalski wrote:
>>  We also need a PDD for the bytecode file format.
>
>Halfway converted.  Er, quarterway, maybe.

Cool.

>  > I also want all the potential jump destinations to be marked
>>  somewhere for the safe mode interpreter, which is another section in
>>  the bytecode file, though that's the subject of another message.
>
>Good, because "Huh?"

Well, what I was thinking was we could have a section that marked all 
the legitimate jump destinations. We could then vet this destination 
table at load time for safe interpreters to make sure that the 
destinations really were proper places to jump (i.e. real opcodes) 
and then have the branch/jump ops vet their destination against the 
valid destination table rather than checking every time to make sure 
it's OK.

Might not be worth it, of course.

-- 
                                         Dan

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

Reply via email to