[llvm-commits] [llvm] r120980 - /llvm/trunk/lib/MC/MCExpr.cpp
Rafael Espindola
rafael.espindola at gmail.com
Sun Dec 5 19:36:43 PST 2010
Author: rafael
Date: Sun Dec 5 21:36:43 2010
New Revision: 120980
URL: http://llvm.org/viewvc/llvm-project?rev=120980&view=rev
Log:
Simplify a bit.
Modified:
llvm/trunk/lib/MC/MCExpr.cpp
Modified: llvm/trunk/lib/MC/MCExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCExpr.cpp?rev=120980&r1=120979&r2=120980&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCExpr.cpp (original)
+++ llvm/trunk/lib/MC/MCExpr.cpp Sun Dec 5 21:36:43 2010
@@ -313,7 +313,7 @@
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();
More information about the llvm-commits
mailing list