diff options
author | Nate Begeman <natebegeman@mac.com> | 2005-11-30 18:37:14 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2005-11-30 18:37:14 +0000 |
commit | 004a833ab8ce7fda673b3c5dea68cc6dfb612cd9 (patch) | |
tree | d1c8fe35dc4fd104f0345d1497a73638b0d8baf4 /utils/TableGen/Record.cpp | |
parent | c85a9f37e92f972467962c82c08cc083c344243f (diff) | |
download | llvm-004a833ab8ce7fda673b3c5dea68cc6dfb612cd9.tar.gz llvm-004a833ab8ce7fda673b3c5dea68cc6dfb612cd9.tar.bz2 llvm-004a833ab8ce7fda673b3c5dea68cc6dfb612cd9.tar.xz |
Fix some copy and paste typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/Record.cpp')
-rw-r--r-- | utils/TableGen/Record.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/Record.cpp b/utils/TableGen/Record.cpp index 3bbb2d9116..13e4c985b6 100644 --- a/utils/TableGen/Record.cpp +++ b/utils/TableGen/Record.cpp @@ -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 |