Skip to content

Commit 8139158

Browse files
authored
Revert "Disable some optimizations on Windows" (swiftlang#9225)
1 parent 3aff8af commit 8139158

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

Sources/PackageLoading/ManifestLoader.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -679,11 +679,6 @@ public final class ManifestLoader: ManifestLoaderProtocol {
679679
}
680680

681681
/// Helper method for evaluating the manifest.
682-
// TODO: Optimizations are disabled to work around a compiler bug. Remove this attribute when the bug is fixed.
683-
// See https://github.com/swiftlang/llvm-project/issues/11377 for details.
684-
#if os(Windows)
685-
@_optimize(none)
686-
#endif
687682
func evaluateManifest(
688683
at manifestPath: AbsolutePath,
689684
vfsOverlayPath: AbsolutePath? = nil,

Sources/PackageRegistryCommand/PackageRegistryCommand+Publish.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -461,11 +461,6 @@ enum PackageArchiveSigner {
461461
}
462462

463463
enum PackageArchiver {
464-
// TODO: Optimizations are disabled to work around a compiler bug. Remove this attribute when the bug is fixed.
465-
// See https://github.com/swiftlang/llvm-project/issues/11377 for details.
466-
#if os(Windows)
467-
@_optimize(none)
468-
#endif
469464
static func archive(
470465
packageIdentity: PackageIdentity,
471466
packageVersion: Version,

Sources/Workspace/Workspace+Prebuilts.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,6 @@ extension Workspace {
422422
return hash == checksum
423423
}
424424

425-
// TODO: Optimizations are disabled to work around a compiler bug. Remove this attribute when the bug is fixed.
426-
// See https://github.com/swiftlang/llvm-project/issues/11377 for details.
427-
#if os(Windows)
428-
@_optimize(none)
429-
#endif
430425
func downloadPrebuilt(
431426
workspace: Workspace,
432427
package: PrebuiltPackage,

0 commit comments

Comments
 (0)