1
0
mirror of https://github.com/RPCSX/llvm.git synced 2025-04-04 17:21:42 +00:00

[TargetLowering] Simplfiy a bit. NFCI.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292024 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Davide Italiano 2017-01-14 20:09:29 +00:00
parent 75f614f4c2
commit 3bd353386a

@ -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