Skip to content

Commit dbe2a8c

Browse files
committed
[IRGen] NFC: Removed duplicative check.
isOSDarwin is true on tvOS so there is no need to also check for isTvOS.
1 parent 07ba7a6 commit dbe2a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/IRGenModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1662,7 +1662,7 @@ bool IRGenModule::useDllStorage() { return ::useDllStorage(Triple); }
16621662

16631663
bool IRGenModule::shouldPrespecializeGenericMetadata() {
16641664
auto canPrespecializeTarget =
1665-
(Triple.isOSDarwin() || Triple.isTvOS() ||
1665+
(Triple.isOSDarwin() ||
16661666
(Triple.isOSLinux() && !(Triple.isARM() && Triple.isArch32Bit())));
16671667
if (canPrespecializeTarget && isStandardLibrary()) {
16681668
return true;

0 commit comments

Comments
 (0)