[llvm-commits] [llvm] r58250 - /llvm/trunk/utils/TableGen/CodeGenInstruction.cpp

Matthijs Kooijman matthijs at stdin.nl
Mon Oct 27 08:59:49 PDT 2008


Author: matthijs
Date: Mon Oct 27 10:59:43 2008
New Revision: 58250

URL: http://llvm.org/viewvc/llvm-project?rev=58250&view=rev
Log:
Remove redundant word in tblgen error message.

Modified:
    llvm/trunk/utils/TableGen/CodeGenInstruction.cpp

Modified: llvm/trunk/utils/TableGen/CodeGenInstruction.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenInstruction.cpp?rev=58250&r1=58249&r2=58250&view=diff

==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenInstruction.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenInstruction.cpp Mon Oct 27 10:59:43 2008
@@ -166,7 +166,7 @@
     } 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())





More information about the llvm-commits mailing list