diff options
| author | Richard Henderson | 2018-08-18 21:01:05 +0200 |
|---|---|---|
| committer | Laurent Vivier | 2018-08-21 23:54:48 +0200 |
| commit | 72eb7ea8f9e97313555b4bc2aa638330c725679a (patch) | |
| tree | 2903be9e02621272d1d336450f7b339e70ede255 /include/exec | |
| parent | linux-user: Split out do_syscall1 (diff) | |
| download | qemu-72eb7ea8f9e97313555b4bc2aa638330c725679a.tar.gz qemu-72eb7ea8f9e97313555b4bc2aa638330c725679a.tar.xz qemu-72eb7ea8f9e97313555b4bc2aa638330c725679a.zip | |
linux-user: Relax single exit from "break"
Transform outermost "break" to "return ret". If the immediately
preceeding statement was an assignment to ret, return the value
directly.
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180818190118.12911-4-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
