From ba99a70cd88fd702d75b103fbadba380ca6c36bd Mon Sep 17 00:00:00 2001 From: Edmund Grimley Evans Date: Thu, 19 Nov 2015 18:26:47 +0000 Subject: Trivial changes to avoid some compiler warnings. --- x86_64-gen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x86_64-gen.c') diff --git a/x86_64-gen.c b/x86_64-gen.c index d8dfaab..4ac1e93 100644 --- a/x86_64-gen.c +++ b/x86_64-gen.c @@ -77,7 +77,7 @@ enum { TREG_ST0 = 24, - TREG_MEM = 0x20, + TREG_MEM = 0x20 }; #define REX_BASE(reg) (((reg) >> 3) & 1) @@ -1703,7 +1703,7 @@ int gtst(int inv, int t) to our target if the result was unordered and test wasn't NE, otherwise if unordered we don't want to jump. */ vtop->c.i &= ~0x100; - if (!inv == (vtop->c.i != TOK_NE)) + if (inv == (vtop->c.i == TOK_NE)) o(0x067a); /* jp +6 */ else { -- cgit v1.3.1