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:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user