diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-08-18 12:01:05 -0700 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-08-21 23:54:48 +0200 |
commit | 72eb7ea8f9e97313555b4bc2aa638330c725679a (patch) | |
tree | 2903be9e02621272d1d336450f7b339e70ede255 /tcg | |
parent | dc1ce18b2bfcd4a759a4cb8c0fc513be887a679b (diff) | |
download | qemu-72eb7ea8f9e97313555b4bc2aa638330c725679a.zip qemu-72eb7ea8f9e97313555b4bc2aa638330c725679a.tar.gz qemu-72eb7ea8f9e97313555b4bc2aa638330c725679a.tar.bz2 |
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 'tcg')
0 files changed, 0 insertions, 0 deletions