Write => in a more normal form.

llvm-svn: 122009
This commit is contained in:
Daniel Dunbar 2010-12-17 01:07:22 +00:00
parent 76793bac89
commit 33d571e2ae
1 changed files with 2 additions and 1 deletions

View File

@ -338,7 +338,8 @@ static bool EvaluateSymbolicAdd(const MCAssembler *Asm,
// Absolutize symbol differences between defined symbols when we have a // Absolutize symbol differences between defined symbols when we have a
// layout object and the target requests it. // layout object and the target requests it.
assert(!(Layout && !Asm)); assert((!Layout || Asm) &&
"Must have an assembler object if layout is given!");
if (Asm && A && B) { if (Asm && A && B) {
const MCSymbol &SA = A->getSymbol(); const MCSymbol &SA = A->getSymbol();