From: Rafael Espindola Date: Mon, 6 Dec 2010 03:36:43 +0000 (+0000) Subject: Simplify a bit. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f3faf92636a7da01d3cfff1e969988b5fff795eb;p=oota-llvm.git Simplify a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120980 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCExpr.cpp b/lib/MC/MCExpr.cpp index 3d476086e4c..cee5673bc07 100644 --- a/lib/MC/MCExpr.cpp +++ b/lib/MC/MCExpr.cpp @@ -313,7 +313,7 @@ static bool EvaluateSymbolicAdd(const MCAsmLayout *Layout, assert(!(Layout && !Asm)); - if ((Layout || Asm) && A && B) { + if (Asm && A && B) { const MCSymbol &SA = A->getSymbol(); const MCSymbol &SB = B->getSymbol(); const MCObjectFormat &F = Asm->getBackend().getObjectFormat();