summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenInstruction.cpp
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-10-27 15:59:43 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-10-27 15:59:43 +0000
commitd470f73e2c9a80c136de1be9f112cf0a125069ca (patch)
treef0be66a1a947b104fe0958489ed6440467f02402 /llvm/utils/TableGen/CodeGenInstruction.cpp
parent835bdca59018c4cd6d1905ac09adf332c8a79d0a (diff)
downloadbcm5719-llvm-d470f73e2c9a80c136de1be9f112cf0a125069ca.tar.gz
bcm5719-llvm-d470f73e2c9a80c136de1be9f112cf0a125069ca.zip
Remove redundant word in tblgen error message.
llvm-svn: 58250
Diffstat (limited to 'llvm/utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenInstruction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.cpp b/llvm/utils/TableGen/CodeGenInstruction.cpp
index 2a5b0bf99b4..a8f747647dc 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.cpp
+++ b/llvm/utils/TableGen/CodeGenInstruction.cpp
@@ -166,7 +166,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
} else if (!Rec->isSubClassOf("RegisterClass") &&
Rec->getName() != "ptr_rc" && Rec->getName() != "unknown")
throw "Unknown operand class '" + Rec->getName() +
- "' in instruction '" + R->getName() + "' instruction!";
+ "' in '" + R->getName() + "' instruction!";
// Check that the operand has a name and that it's unique.
if (DI->getArgName(i).empty())
OpenPOWER on IntegriCloud