Skip to content

Commit 942e0f1

Browse files
Fix typo
1 parent a4814df commit 942e0f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/IRGen/GenBuiltin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ if (Builtin.ID == BuiltinValueKind::id) { \
400400

401401
// Remove swiftself and swifterror attribute to match signature generated from
402402
// RuntimeFunctions.def. These two parameters are passed using swifterror and swiftself,
403-
// but the definition of swift_willThrow generated from the def file doesn't has those
403+
// but the definition of swift_willThrow generated from the def file doesn't have those
404404
// attributes due to the def file limitation. In WebAssembly context, these attributes are
405405
// lowered as usual parameters, so this doesn't have any side effects.
406406
if (IGF.IGM.TargetInfo.OutputObjectFormat != llvm::Triple::Wasm) {

stdlib/public/runtime/ErrorObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ void swift_errorRelease(SwiftError *object);
210210
// Notes:
211211
// Remove swiftself and swifterror attribute to match signature generated from
212212
// RuntimeFunctions.def. These two parameters are passed using swifterror and swiftself,
213-
// but the definition of swift_willThrow generated from the def file doesn't has those
213+
// but the definition of swift_willThrow generated from the def file doesn't have those
214214
// attributes due to the def file limitation. In WebAssembly context, these attributes are
215215
// lowered as usual parameters, so this doesn't have any side effects.
216216
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_API

0 commit comments

Comments
 (0)