diff options
Diffstat (limited to 'llvm/utils/TableGen')
| -rw-r--r-- | llvm/utils/TableGen/Record.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/Record.cpp b/llvm/utils/TableGen/Record.cpp index 3bbb2d9116e..13e4c985b61 100644 --- a/llvm/utils/TableGen/Record.cpp +++ b/llvm/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 |

