Skip to content

Commit 74aed6e

Browse files
committed
Merge pull request #814 from practicalswift/typo-fixes-20151229b
LGTM
2 parents 77080e4 + 6dac32e commit 74aed6e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/IRGen/GenProto.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2060,7 +2060,7 @@ emitReturnOfCheckedLoadFromCache(IRGenFunction &IGF, Address destTable,
20602060
result->addIncoming(fetchedResult, fetchedResultBB);
20612061
}
20622062

2063-
/// Within an metadata or witness-table accessor on this conformance, bind
2063+
/// Within a metadata or witness-table accessor on this conformance, bind
20642064
/// the type metadata and witness tables for all the associated types.
20652065
void WitnessTableBuilder::bindArchetypes(IRGenFunction &IGF,
20662066
llvm::Value *selfMetadata) {

lib/IRGen/GenProto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace irgen {
4848
ProtocolConformance *conformance,
4949
Explosion &out);
5050

51-
/// Given a type T and an associated type X of some protoocol P to
51+
/// Given a type T and an associated type X of some protocol P to
5252
/// which T conforms, return the type metadata for T.X.
5353
///
5454
/// \param parentMetadata - the type metadata for T

lib/SILOptimizer/Transforms/DeadStoreElimination.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ void BlockState::init(DSEContext &Ctx, bool OneIterationFunction) {
448448
std::vector<LSLocation> &LV = Ctx.getLocationVault();
449449
LocationNum = LV.size();
450450
// For function that requires just 1 iteration of the data flow to converge
451-
// we set the initiali state of BBWriteSetIn to 0.
451+
// we set the initial state of BBWriteSetIn to 0.
452452
//
453453
// For other functions, the initial state of BBWriteSetIn should be all 1's.
454454
// Otherwise the dataflow solution could be too conservative.

0 commit comments

Comments
 (0)