Fix some copy and paste typos.
authorNate Begeman <natebegeman@mac.com>
Wed, 30 Nov 2005 18:37:14 +0000 (18:37 +0000)
committerNate Begeman <natebegeman@mac.com>
Wed, 30 Nov 2005 18:37:14 +0000 (18:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24540 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/Record.cpp

index 3bbb2d9116e2d5105e6291d8f6dcd38055b57da3..13e4c985b61c9d8fd3b6a107dc8aff5d77f8a0a2 100644 (file)
@@ -741,7 +741,7 @@ int Record::getValueAsInt(const std::string &FieldName) const {
   if (IntInit *II = dynamic_cast<IntInit*>(R->getValue()))
     return II->getValue();
   throw "Record `" + getName() + "', field `" + FieldName +
-        "' does not have a list initializer!";
+        "' does not have an int initializer!";
 }
 
 /// getValueAsDef - This method looks up the specified field and returns its
@@ -757,7 +757,7 @@ Record *Record::getValueAsDef(const std::string &FieldName) const {
   if (DefInit *DI = dynamic_cast<DefInit*>(R->getValue()))
     return DI->getDef();
   throw "Record `" + getName() + "', field `" + FieldName +
-        "' does not have a list initializer!";
+        "' does not have a def initializer!";
 }
 
 /// getValueAsBit - This method looks up the specified field and returns its