From 5ecad11b093eb431619aed1b02c1d6d12f77ad97 Mon Sep 17 00:00:00 2001 From: Nicolas Kaiser Date: Mon, 3 Jan 2011 02:12:33 -0800 Subject: [PATCH] memops.c: always true expression I noticed that the second part of this conditional is always true. Just a shot in the dark: Could that be a typo? Signed-off-by: Nicolas Kaiser Signed-off-by: Christopher Li --- memops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memops.c b/memops.c index 9eafb722..45bd3401 100644 --- a/memops.c +++ b/memops.c @@ -69,7 +69,7 @@ static int address_taken(pseudo_t pseudo) struct pseudo_user *pu; FOR_EACH_PTR(pseudo->users, pu) { struct instruction *insn = pu->insn; - if (insn->bb && (insn->opcode != OP_LOAD || insn->opcode != OP_STORE)) + if (insn->bb && (insn->opcode != OP_LOAD && insn->opcode != OP_STORE)) return 1; } END_FOR_EACH_PTR(pu); return 0; -- 2.11.4.GIT