don't emit the namespace inside the class!
authorChris Lattner <sabre@nondot.org>
Tue, 13 Sep 2005 22:05:02 +0000 (22:05 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 13 Sep 2005 22:05:02 +0000 (22:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23341 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp

index f6b5f90e18b296bec5bac3229657646e0fc2265a..dd4256bc703feaecd6bf27a4fa9bc9ba12d5bb68 100644 (file)
@@ -670,8 +670,7 @@ void DAGISelEmitter::ParseAndResolveInstructions() {
 void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
   // Emit boilerplate.
   OS << "// The main instruction selector code.\n"
-     << "SDOperand " << Target.getName()
-     << "SelectCode(SDOperand Op) {\n"
+     << "SDOperand SelectCode(SDOperand Op) {\n"
      << "  SDNode *N = Op.Val;\n"
      << "  if (N->getOpcode() >= ISD::BUILTIN_OP_END &&\n"
      << "      N->getOpcode() < PPCISD::FIRST_NUMBER)\n"