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>
This commit is contained in:
Richard Henderson 2018-08-18 12:01:05 -07:00 committed by Laurent Vivier
parent dc1ce18b2b
commit 72eb7ea8f9
1 changed files with 390 additions and 582 deletions

File diff suppressed because it is too large Load Diff