summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-11-21 22:44:20 +0000
committerBob Wilson <bob.wilson@apple.com>2009-11-21 22:44:20 +0000
commit159905a766b8d6f2d56b1b2b18168744be872167 (patch)
treea56faee472da4ea971cdea6b0a7f2dceb3ebce73 /llvm/utils
parent3b793a4dc9f8bb4310287cbe766c4a9a3d2cc9dd (diff)
downloadbcm5719-llvm-159905a766b8d6f2d56b1b2b18168744be872167.tar.gz
bcm5719-llvm-159905a766b8d6f2d56b1b2b18168744be872167.zip
Fix some spelling in comments.
llvm-svn: 89566
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/TableGen/Record.cpp6
-rw-r--r--llvm/utils/TableGen/Record.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/utils/TableGen/Record.cpp b/llvm/utils/TableGen/Record.cpp
index 25fe5c4ddf3..7e84d008e69 100644
--- a/llvm/utils/TableGen/Record.cpp
+++ b/llvm/utils/TableGen/Record.cpp
@@ -1109,7 +1109,7 @@ Init *VarInit::resolveBitReference(Record &R, const RecordVal *IRV,
if (IRV && IRV->getName() != getName()) return 0;
RecordVal *RV = R.getValue(getName());
- assert(RV && "Reference to a non-existant variable?");
+ assert(RV && "Reference to a non-existent variable?");
assert(dynamic_cast<BitsInit*>(RV->getValue()));
BitsInit *BI = (BitsInit*)RV->getValue();
@@ -1127,7 +1127,7 @@ Init *VarInit::resolveListElementReference(Record &R, const RecordVal *IRV,
if (IRV && IRV->getName() != getName()) return 0;
RecordVal *RV = R.getValue(getName());
- assert(RV && "Reference to a non-existant variable?");
+ assert(RV && "Reference to a non-existent variable?");
ListInit *LI = dynamic_cast<ListInit*>(RV->getValue());
if (!LI) {
VarInit *VI = dynamic_cast<VarInit*>(RV->getValue());
@@ -1165,7 +1165,7 @@ Init *VarInit::getFieldInit(Record &R, const std::string &FieldName) const {
}
/// resolveReferences - This method is used by classes that refer to other
-/// variables which may not be defined at the time they expression is formed.
+/// variables which may not be defined at the time the expression is formed.
/// If a value is set for the variable later, this method will be called on
/// users of the value to allow the value to propagate out.
///
diff --git a/llvm/utils/TableGen/Record.h b/llvm/utils/TableGen/Record.h
index 6f7ca82b2e3..56171326c90 100644
--- a/llvm/utils/TableGen/Record.h
+++ b/llvm/utils/TableGen/Record.h
@@ -508,7 +508,7 @@ struct Init {
}
/// resolveReferences - This method is used by classes that refer to other
- /// variables which may not be defined at the time they expression is formed.
+ /// variables which may not be defined at the time the expression is formed.
/// If a value is set for the variable later, this method will be called on
/// users of the value to allow the value to propagate out.
///
OpenPOWER on IntegriCloud