On 03/26/12 09:26, Blue Swirl wrote:
>> +#ifndef CONFIG_TCG_PASS_AREG0
>>     env = env1;
>> +#endif
> 
> Shouldn't longjmp() restore global registers as well? Actually, we
> return to cpu-exec.c which does not use global env. Isn't this
> useless?

Possibly.  I didn't think to try to actually remove these uses,
just get the code to compile without env being declared.

> I'd change user-exec.c to work without global env use.

I'll give it a shot...


r~

Reply via email to