Skip to content

Fix typos in code merged today #814

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 1 commit into from
Dec 29, 2015
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 lib/IRGen/GenProto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2060,7 +2060,7 @@ emitReturnOfCheckedLoadFromCache(IRGenFunction &IGF, Address destTable,
result->addIncoming(fetchedResult, fetchedResultBB);
}

/// Within an metadata or witness-table accessor on this conformance, bind
/// Within a metadata or witness-table accessor on this conformance, bind
/// the type metadata and witness tables for all the associated types.
void WitnessTableBuilder::bindArchetypes(IRGenFunction &IGF,
llvm::Value *selfMetadata) {
Expand Down
2 changes: 1 addition & 1 deletion lib/IRGen/GenProto.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace irgen {
ProtocolConformance *conformance,
Explosion &out);

/// Given a type T and an associated type X of some protoocol P to
/// Given a type T and an associated type X of some protocol P to
/// which T conforms, return the type metadata for T.X.
///
/// \param parentMetadata - the type metadata for T
Expand Down
2 changes: 1 addition & 1 deletion lib/SILOptimizer/Transforms/DeadStoreElimination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ void BlockState::init(DSEContext &Ctx, bool OneIterationFunction) {
std::vector<LSLocation> &LV = Ctx.getLocationVault();
LocationNum = LV.size();
// For function that requires just 1 iteration of the data flow to converge
// we set the initiali state of BBWriteSetIn to 0.
// we set the initial state of BBWriteSetIn to 0.
//
// For other functions, the initial state of BBWriteSetIn should be all 1's.
// Otherwise the dataflow solution could be too conservative.
Expand Down