aboutsummaryrefslogtreecommitdiff
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
commit447d681e8b23fec360c95131c0b037d82dce495c (patch)
tree6c4ebcc1e2a97004cec081863c95cfb0a169153b /tcg/i386
parent85948643b8df28ca87e41a1c4c7f16a66b4ac6cd (diff)
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. */