Re: [Qemu-devel] [PATCH v4 03/16] linux-user: Relax single exit from "break"

2018-08-21 Thread Philippe Mathieu-Daudé
On 08/18/2018 04:01 PM, Richard Henderson wrote: > Transform outermost "break" to "return ret". If the immediately > preceeding statement was an assignment to ret, return the value > directly. > > Reviewed-by: Laurent Vivier > Signed-off-by: Richard Henderson > --- > linux-user/syscall.c | 972

[Qemu-devel] [PATCH v4 03/16] linux-user: Relax single exit from "break"

2018-08-18 Thread Richard Henderson
Transform outermost "break" to "return ret". If the immediately preceeding statement was an assignment to ret, return the value directly. Reviewed-by: Laurent Vivier Signed-off-by: Richard Henderson --- linux-user/syscall.c | 972 +-- 1 file changed, 390