Simplify. NFC.

We handled all undefined symbols before this.

llvm-svn: 312808
This commit is contained in:
Rafael Espindola 2017-09-08 18:23:25 +00:00
parent bb468da200
commit 716c57bfb5
1 changed files with 1 additions and 1 deletions

View File

@ -1252,7 +1252,7 @@ static bool computeIsPreemptible(const SymbolBody &B) {
// -Bsymbolic means that definitions are not preempted. // -Bsymbolic means that definitions are not preempted.
if (Config->Bsymbolic || (Config->BsymbolicFunctions && B.isFunc())) if (Config->Bsymbolic || (Config->BsymbolicFunctions && B.isFunc()))
return !B.isDefined(); return false;
return true; return true;
} }