don't emit the namespace inside the class!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23341 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index f6b5f90..dd4256b 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -670,8 +670,7 @@
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"