aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/IPO')
-rw-r--r--lib/Transforms/IPO/DeadArgumentElimination.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/IPO/DeadArgumentElimination.cpp b/lib/Transforms/IPO/DeadArgumentElimination.cpp
index 8621f1a..911c14e 100644
--- a/lib/Transforms/IPO/DeadArgumentElimination.cpp
+++ b/lib/Transforms/IPO/DeadArgumentElimination.cpp
@@ -359,13 +359,13 @@ bool DAE::RemoveDeadArgumentsFromCallers(Function &Fn)
// If a function seen at compile time is not necessarily the one linked to
// the binary being built, it is illegal to change the actual arguments
- // passing to it. These functions can be captured by isWeakForLinker().
+ // passed to it. These functions can be captured by isWeakForLinker().
// *NOTE* that mayBeOverridden() is insufficient for this purpose as it
- // dosen't include linkage types like AvailableExternallyLinkage and
+ // doesn't include linkage types like AvailableExternallyLinkage and
// LinkOnceODRLinkage. Take link_odr* as an example, it indicates a set of
// *EQUIVALENT* globals that can be merged at link-time. However, the
// semantic of *EQUIVALENT*-functions includes parameters. Changing
- // parameters breaks the assumption.
+ // parameters breaks this assumption.
//
if (Fn.isWeakForLinker())
return false;