Re: [AD] 4.3 error handling

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2006-06-08, Chris <chris.kcat@xxxxxxxxxx> wrote:
> On Thursday 08 June 2006 18:40, Peter Wang wrote:
> > No, local variables can be in registers.
> 
> I thought the only way to get a local variable onto a register was to use the 
> register keyword. Something compilers don't support anymore because the 
> optimizer can do a better and safer job at deciding what should be in 
> registers and when.

And I assume they put that caveat in the manual precisely so the
optimiser doesn't need to think about setjmps when allocating registers.
It's supposed to be a rare usage, after all...

I'm out of my depth, though.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/