diff options
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 |