]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/optimize: fix if/else/break coding style
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 7 Sep 2012 10:24:32 +0000 (12:24 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Oct 2012 06:42:07 +0000 (01:42 -0500)
commit578c758200c670df9fa73f4511dc44d45ee80a9d
tree0648c17841a08b5045936542a173d0b4b5d5fbd7
parent97c012c76a2d990cddc0c63f5a8b96e4096cc7e6
tcg/optimize: fix if/else/break coding style

optimizer.c contains some cases were the break is appearing in both the
if and the else parts. Fix that by moving it to the outer part. Also
move some common code there.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tcg/optimize.c