Re: [Qemu-devel] [PATCH] tcg: Improve tcg_out_label and fix its usage for w64

2012-03-11 Thread Blue Swirl
Thanks, applied. On Sat, Mar 10, 2012 at 18:59, Stefan Weil wrote: > tcg_out_label is always called with a third argument of pointer type > which was casted to tcg_target_long. > > These casts can be avoided by changing the prototype of tcg_out_label. > > There was also a cast to long. For most h

[Qemu-devel] [PATCH] tcg: Improve tcg_out_label and fix its usage for w64

2012-03-10 Thread Stefan Weil
tcg_out_label is always called with a third argument of pointer type which was casted to tcg_target_long. These casts can be avoided by changing the prototype of tcg_out_label. There was also a cast to long. For most hosts with sizeof(long) == sizeof(tcg_target_long) == sizeof(void *) this did no