Skip to content

Commit 59ecd28

Browse files
committed
Revert Disable optimization to work around a compiler bug (swiftlang#807)
The compiler bug has been fixed so the workaround is no longer necessary. Bug: swiftlang/llvm-project#11377
1 parent 68b1a0f commit 59ecd28

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/SWBTaskExecution/BuildDescriptionManager.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,6 @@ package final class BuildDescriptionManager: Sendable {
175175
/// NOTE: This is primarily accessible for performance testing purposes, actual clients should prefer to access via the cached methods.
176176
///
177177
/// - Returns: A build description, or nil if cancelled.
178-
// TODO: Optimizations are disabled to work around a compiler bug. Remove this attribute when the bug is fixed.
179-
// See https://github.com/swiftlang/llvm-project/issues/11377 for details.
180-
#if os(Windows)
181-
@_optimize(none)
182-
#endif
183178
package static func constructBuildDescription(_ plan: BuildPlan, planRequest: BuildPlanRequest, signature: BuildDescriptionSignature, inDirectory path: Path, fs: any FSProxy, bypassActualTasks: Bool = false, planningDiagnostics: [ConfiguredTarget?: [Diagnostic]], delegate: any BuildDescriptionConstructionDelegate) async throws -> BuildDescription? {
184179
BuildDescriptionManager.descriptionsComputed.increment()
185180

0 commit comments

Comments
 (0)