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
This commit is contained in:
Chris Lattner 2005-09-13 22:05:02 +00:00
parent 1048b7a67e
commit f4f33ba518

View 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"