Re: [CIL users] Switch statement transformation

2011-01-18 Thread Gabriel Kerneis
I just merged all this work on switch and if statements. Elnatan, could you please have a look at r12126 and tell me if it looks good for you? I did some light testing, but I would feel more confident if you checked it (especially since you seem to use this part extensively in your work, you prob

Re: [CIL users] Switch statement transformation

2011-01-17 Thread Elnatan Reisner
On Jan 14, 2011, at 11:09 AM, Elnatan Reisner wrote:On Jan 14, 2011, at 10:18 AM, Gabriel Kerneis wrote:On Fri, Jan 07, 2011 at 12:16:17AM -0500, Elnatan Reisner wrote:Finally, since I was playing around with switch statements anyway, Idid one further thing. You may have seen my previous posts abou

Re: [CIL users] Switch statement transformation

2011-01-14 Thread Elnatan Reisner
On Jan 14, 2011, at 10:18 AM, Gabriel Kerneis wrote: > Dear Elnatan, > > Thank you very much for your patches. I tested them, but I have some > questions before I push them upstream. Please see below. > > On Fri, Jan 07, 2011 at 12:16:17AM -0500, Elnatan Reisner wrote: >> Finally, since I was pl

Re: [CIL users] Switch statement transformation

2011-01-14 Thread Gabriel Kerneis
Dear Elnatan, Thank you very much for your patches. I tested them, but I have some questions before I push them upstream. Please see below. On Fri, Jan 07, 2011 at 12:16:17AM -0500, Elnatan Reisner wrote: > One patch, switch_default_ordering.patch, fixes an actual bug > (although I suppose it n