mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "[Sema] Fix availability checking in inlinable code"
This commit is contained in:
committed by
GitHub
parent
722cc755f8
commit
e509d6883a
@@ -2638,8 +2638,7 @@ void SILFunction::print(SILPrintContext &PrintCtx) const {
|
||||
if (isAlwaysWeakImported())
|
||||
OS << "[weak_imported] ";
|
||||
auto availability = getAvailabilityForLinkage();
|
||||
if (!availability.isAlwaysAvailable() &&
|
||||
!availability.isKnownUnreachable()) {
|
||||
if (!availability.isAlwaysAvailable()) {
|
||||
auto version = availability.getOSVersion().getLowerEndpoint();
|
||||
OS << "[available " << version.getAsString() << "] ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user