diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-12-17 01:07:22 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-12-17 01:07:22 +0000 |
commit | cdf94e8592efbab4244a98f7b6678f13c795a7ed (patch) | |
tree | 4086e94e89b02c57fd4e47d5a8f278ff4d3b7e33 /lib/MC/MCExpr.cpp | |
parent | f2ed62d6bfe0693dbcb114b619a08fa9b397a422 (diff) |
Write => in a more normal form.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCExpr.cpp')
-rw-r--r-- | lib/MC/MCExpr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCExpr.cpp b/lib/MC/MCExpr.cpp index 5d2c707068..f7ed35374e 100644 --- a/lib/MC/MCExpr.cpp +++ b/lib/MC/MCExpr.cpp @@ -338,7 +338,8 @@ static bool EvaluateSymbolicAdd(const MCAssembler *Asm, // Absolutize symbol differences between defined symbols when we have a // 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) { const MCSymbol &SA = A->getSymbol(); |