[squeak-dev] Re: Bug in BytecodeGenerator>>#jump:if:

nice ncellier at ifrance.com
Sun Jun 22 14:05:57 UTC 2008


nice wrote:
> Hello André,
> 
> Good find!
> I confirm only 4 bytes codes are reserved for longJumpIfFalse and 4 
> bytes code for longJumpIfTrue.
> So this seems like a MAJOR bug. The kind of bug able to crash squeak if 
> you generate and execute a method with a jump > 1024 and < 2048...
> 

Just for the fun of it: how do you write non regression tests for such ones?

self shouldnt: [SmalltalkImage crash] ???




More information about the Squeak-dev mailing list