Skip to content

[gardening] Fix recently introduced typos #1708

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 4 commits into from
Mar 16, 2016
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 include/swift/SILOptimizer/Analysis/CallerAnalysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class CallerAnalysis : public SILAnalysis {

/// Return true if the function has a caller inside current module.
bool existCaller(SILFunction *F) {
// Recompute every function in the invaldiated function list and empty the
// Recompute every function in the invalidated function list and empty the
// list.
for (auto &F : RecomputeFunctionList) {
processFunctionCallSites(F);
Expand Down
2 changes: 1 addition & 1 deletion lib/Parse/ParseSIL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace swift {
/// the location for where the reference is.
llvm::DenseMap<Identifier,
std::pair<SILFunction*, SourceLoc>> ForwardRefFns;
/// A list of all functions foward-declared by a sil_scope.
/// A list of all functions forward-declared by a sil_scope.
std::vector<SILFunction *> PotentialZombieFns;

/// A map from textual .sil scope number to SILDebugScopes.
Expand Down
2 changes: 1 addition & 1 deletion lib/SILOptimizer/Analysis/CallerAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void CallerAnalysis::processFunctionCallSites(SILFunction *F) {
SILFunction *CalleeFn = getCallee(Apply);
if (!CalleeFn)
continue;
// Update the callee information for this fucntion.
// Update the callee information for this function.
CallerAnalysisFunctionInfo &CallerInfo
= CallInfo.FindAndConstruct(F).second;
CallerInfo.Callees.push_back(CalleeFn);
Expand Down
2 changes: 1 addition & 1 deletion lib/SILOptimizer/IPO/FunctionSignatureOpts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ STATISTIC(NumSROAArguments, "Total SROA arguments optimized");

typedef SmallVector<FullApplySite, 8> ApplyList;
//===----------------------------------------------------------------------===//
// Argument and Result Optimzer
// Argument and Result Optimizer
//===----------------------------------------------------------------------===//

static void
Expand Down