@@ -616,7 +616,7 @@ SILDeserializer::readSILFunctionChecked(DeclID FID, SILFunction *existingFn,
616616 fn->setSerialized (IsSerialized_t (isSerialized));
617617
618618 // If the serialized function comes from the same module, we're merging
619- // modules, and can update the the linkage directly. This is needed to
619+ // modules, and can update the linkage directly. This is needed to
620620 // correctly update the linkage for forward declarations to entities defined
621621 // in another file of the same module – we want to ensure the linkage
622622 // reflects the fact that the entity isn't really external and shouldn't be
@@ -697,7 +697,7 @@ SILDeserializer::readSILFunctionChecked(DeclID FID, SILFunction *existingFn,
697697 builder.setHasOwnership (fn, hasQualifiedOwnership);
698698
699699 // Mark this function as deserialized. This avoids rerunning diagnostic
700- // passes. Certain passes in the madatory pipeline may not work as expected
700+ // passes. Certain passes in the mandatory pipeline may not work as expected
701701 // after arbitrary optimization and lowering.
702702 if (!MF->isSIB ())
703703 fn->setWasDeserializedCanonical ();
@@ -710,7 +710,7 @@ SILDeserializer::readSILFunctionChecked(DeclID FID, SILFunction *existingFn,
710710 }
711711
712712 // Read and instantiate the specialize attributes.
713- bool shouldAddSpecAtttrs = fn->getSpecializeAttrs ().empty ();
713+ bool shouldAddSpecAttrs = fn->getSpecializeAttrs ().empty ();
714714 bool shouldAddEffectAttrs = !fn->hasArgumentEffects ();
715715 for (unsigned attrIdx = 0 ; attrIdx < numAttrs; ++attrIdx) {
716716 llvm::Expected<llvm::BitstreamEntry> maybeNext =
@@ -777,7 +777,7 @@ SILDeserializer::readSILFunctionChecked(DeclID FID, SILFunction *existingFn,
777777
778778 auto specializedSig = MF->getGenericSignature (specializedSigID);
779779 // Only add the specialize attributes once.
780- if (shouldAddSpecAtttrs ) {
780+ if (shouldAddSpecAttrs ) {
781781 // Read the substitution list and construct a SILSpecializeAttr.
782782 fn->addSpecializeAttr (SILSpecializeAttr::create (
783783 SILMod, specializedSig, exported != 0 , specializationKind, target,
0 commit comments