forked from OSchip/llvm-project
parent
45790b82af
commit
46e40188f7
|
@ -313,7 +313,7 @@ static bool EvaluateSymbolicAdd(const MCAsmLayout *Layout,
|
||||||
|
|
||||||
assert(!(Layout && !Asm));
|
assert(!(Layout && !Asm));
|
||||||
|
|
||||||
if ((Layout || Asm) && A && B) {
|
if (Asm && A && B) {
|
||||||
const MCSymbol &SA = A->getSymbol();
|
const MCSymbol &SA = A->getSymbol();
|
||||||
const MCSymbol &SB = B->getSymbol();
|
const MCSymbol &SB = B->getSymbol();
|
||||||
const MCObjectFormat &F = Asm->getBackend().getObjectFormat();
|
const MCObjectFormat &F = Asm->getBackend().getObjectFormat();
|
||||||
|
|
Loading…
Reference in New Issue