projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2ed62d
)
Write => in a more normal form.
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 17 Dec 2010 01:07:22 +0000
(
01:07
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 17 Dec 2010 01:07:22 +0000
(
01:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122009
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCExpr.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCExpr.cpp
b/lib/MC/MCExpr.cpp
index 5d2c7070685a3fb136790819260d6cb7e20594d7..f7ed35374e4a6456e0c5804998c683c93dd2f1e6 100644
(file)
--- 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();