[Mips] Join two if statements

No functional changes.

llvm-svn: 224817
This commit is contained in:
Simon Atanasyan 2014-12-24 12:19:42 +00:00
parent 1a978ed9ac
commit 926f79f44f
1 changed files with 1 additions and 3 deletions

View File

@ -297,9 +297,7 @@ void RelocationPass<ELFT>::perform(std::unique_ptr<MutableFile> &mf) {
// Create R_MIPS_REL32 relocations.
for (auto *ref : _rel32Candidates) {
if (!isDynamic(ref->target()))
continue;
if (_pltMap.count(ref->target()))
if (!isDynamic(ref->target()) || _pltMap.count(ref->target()))
continue;
ref->setKindValue(R_MIPS_REL32);
if (!isLocalCall(ref->target()))