mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 22:43:53 +00:00
[TargetLowering] Simplfiy a bit. NFCI.
llvm-svn: 292024
This commit is contained in:
parent
5326ae1b58
commit
c21401736b
@ -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