summaryrefslogtreecommitdiff
path: root/tcg/i386
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2010-06-10 20:40:24 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-06-10 20:41:08 +0200
commit4ba443a5ade18a5b9ae15fd0304294387aea5937 (patch)
tree6c4ebcc1e2a97004cec081863c95cfb0a169153b /tcg/i386
parent45ec42b0d1ec44691fc21bb17463af86624b0efc (diff)
downloadqemu-4ba443a5ade18a5b9ae15fd0304294387aea5937.tar.gz
qemu-4ba443a5ade18a5b9ae15fd0304294387aea5937.tar.bz2
qemu-4ba443a5ade18a5b9ae15fd0304294387aea5937.zip
tcg-i386: remove use of _Bool that slipped code review
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/i386')
-rw-r--r--tcg/i386/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c
index 4d952007b5..8b902abd54 100644
--- a/tcg/i386/tcg-target.c
+++ b/tcg/i386/tcg-target.c
@@ -656,7 +656,7 @@ static void tgen_arithi(TCGContext *s, int c, int r0,
partial flags update stalls on Pentium4 and are not recommended
by current Intel optimization manuals. */
if (!cf && (c == ARITH_ADD || c == ARITH_SUB) && (val == 1 || val == -1)) {
- _Bool is_inc = (c == ARITH_ADD) ^ (val < 0);
+ int is_inc = (c == ARITH_ADD) ^ (val < 0);
if (TCG_TARGET_REG_BITS == 64) {
/* The single-byte increment encodings are re-tasked as the
REX prefixes. Use the MODRM encoding. */