1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Fix some copy and paste typos.

llvm-svn: 24540
This commit is contained in:
Nate Begeman 2005-11-30 18:37:14 +00:00
parent 5af54cb0fe
commit ed43f5159f

View 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