Re: [Qemu-devel] Tracking unfreed tcg temps

2011-01-16 Thread Aurelien Jarno
On Tue, Jan 11, 2011 at 11:55:33PM +0100, Aurelien Jarno wrote: > On Tue, Jan 11, 2011 at 06:09:06AM -0600, Peter Maydell wrote: > > The ARM target-arm/translate.c file has some code in it which tries to > > track the number of TCG temporaries allocated during translation of an > > ARM instruction

Re: [Qemu-devel] Tracking unfreed tcg temps

2011-01-11 Thread Aurelien Jarno
On Tue, Jan 11, 2011 at 06:09:06AM -0600, Peter Maydell wrote: > The ARM target-arm/translate.c file has some code in it which tries to > track the number of TCG temporaries allocated during translation of an > ARM instruction and complain if they are not freed by the end of that > instruction. So

[Qemu-devel] Tracking unfreed tcg temps

2011-01-11 Thread Peter Maydell
The ARM target-arm/translate.c file has some code in it which tries to track the number of TCG temporaries allocated during translation of an ARM instruction and complain if they are not freed by the end of that instruction. So new_tmp() allocates a temp with tcg_temp_new_i32() and increments the c