aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Constants.cpp2
-rw-r--r--lib/VMCore/Type.cpp2
-rw-r--r--lib/VMCore/iOperators.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp
index eb93da3c1d..7a68348396 100644
--- a/lib/VMCore/Constants.cpp
+++ b/lib/VMCore/Constants.cpp
@@ -31,7 +31,7 @@ void Constant::setName(const std::string &Name, SymbolTable *ST) {
void Constant::destroyConstantImpl() {
// When a Constant is destroyed, there may be lingering
// references to the constant by other constants in the constant pool. These
- // constants are implicitly dependant on the module that is being deleted,
+ // constants are implicitly dependent on the module that is being deleted,
// but they don't know that. Because we only find out when the CPV is
// deleted, we must now notify all of our users (that should only be
// Constants) that they are, in fact, invalid now and should be deleted.
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp
index d74433a974..617ee46662 100644
--- a/lib/VMCore/Type.cpp
+++ b/lib/VMCore/Type.cpp
@@ -102,7 +102,7 @@ bool Type::isLosslesslyConvertibleTo(const Type *Ty) const {
}
// getPrimitiveSize - Return the basic size of this type if it is a primative
-// type. These are fixed by LLVM and are not target dependant. This will
+// type. These are fixed by LLVM and are not target dependent. This will
// return zero if the type does not have a size or is not a primitive type.
//
unsigned Type::getPrimitiveSize() const {
diff --git a/lib/VMCore/iOperators.cpp b/lib/VMCore/iOperators.cpp
index 5a88986135..a4daeeebff 100644
--- a/lib/VMCore/iOperators.cpp
+++ b/lib/VMCore/iOperators.cpp
@@ -130,7 +130,7 @@ const Value *BinaryOperator::getNotArgument(const BinaryOperator *Bop) {
// swapOperands - Exchange the two operands to this instruction. This
// instruction is safe to use on any binary instruction and does not
// modify the semantics of the instruction. If the instruction is
-// order dependant (SetLT f.e.) the opcode is changed.
+// order dependent (SetLT f.e.) the opcode is changed.
//
bool BinaryOperator::swapOperands() {
if (isCommutative())