Skip to content

Spelling swiftcompilersources #42617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SwiftCompilerSources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ if (NOT BOOTSTRAPPING_MODE)
add_library(swiftCompilerModules ALIAS swiftCompilerStub)

else()
# Note: "Swift" is not added intentinally here, because it would break
# Note: "Swift" is not added intentionally here, because it would break
# the bootstrapping build in case no swift toolchain is installed on the host.
project(SwiftInTheCompiler LANGUAGES C CXX)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ private func isNotReferenceCounted(value: Value, context: PassContext) -> Bool {
return isNotReferenceCounted(value: urc.operand, context: context)
case let gvi as GlobalValueInst:
// Since Swift 5.1, statically allocated objects have "immortal" reference
// counts. Therefore we can safely eliminate unbalaced retains and
// counts. Therefore we can safely eliminate unbalanced retains and
// releases, because they are no-ops on immortal objects.
// Note that the `simplifyGlobalValuePass` pass is deleting balanced
// retains/releases, which doesn't require a Swift 5.1 minimum deployment
// targert.
// target.
return gvi.function.isSwift51RuntimeAvailable
case let rptr as RawPointerToRefInst:
// Like `global_value` but for the empty collection singletons from the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===--- PassRegistration.swift - Register optimzation passes -------------===//
//===--- PassRegistration.swift - Register optimization passes -------------===//
//
// This source file is part of the Swift.org open source project
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===--- PassUtils.swift - Utilities for optimzation passes ---------------===//
//===--- PassUtils.swift - Utilities for optimization passes ---------------===//
//
// This source file is part of the Swift.org open source project
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===--- OptUtils.swift - Utilities for optimzations ----------------------===//
//===--- OptUtils.swift - Utilities for optimizations ----------------------===//
//
// This source file is part of the Swift.org open source project
//
Expand Down