[TargetLowering] Simplfiy a bit. NFCI.

llvm-svn: 292024
This commit is contained in:
Davide Italiano 2017-01-14 20:09:29 +00:00
parent d419b73a42
commit 76de68eaf9
1 changed files with 1 additions and 4 deletions

View File

@ -264,10 +264,7 @@ bool TargetLoweringObjectFile::shouldPutJumpTableInFunctionSection(
// in discardable section
// FIXME: this isn't the right predicate, should be based on the MCSection
// for the function.
if (F.isWeakForLinker())
return true;
return false;
return F.isWeakForLinker();
}
/// Given a mergable constant with the specified size and relocation