mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove the transparent bit from apply instructions.
We no longer need or use it since we can always refer to the same bit on the applied function when deciding whether to inline during mandatory inlining. Resolves rdar://problem/19478366. Swift SVN r26534
This commit is contained in:
@@ -159,7 +159,7 @@ bool SILLinkerVisitor::visitApplyInst(ApplyInst *AI) {
|
||||
|
||||
// If the linking mode is not link all, AI is not transparent, and the
|
||||
// callee is not shared, we don't want to perform any linking.
|
||||
if (!isLinkAll() && !AI->isTransparent() &&
|
||||
if (!isLinkAll() && !Callee->isTransparent() &&
|
||||
!hasSharedVisibility(Callee->getLinkage()))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user