Remove redundant word in tblgen error message.
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 27 Oct 2008 15:59:43 +0000 (15:59 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Mon, 27 Oct 2008 15:59:43 +0000 (15:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58250 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/CodeGenInstruction.cpp

index 2a5b0bf99b409491cac27864647fa03b2f02337e..a8f747647dc8caf71b5e1a3296066a0d8a80ab7f 100644 (file)
@@ -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())