[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 13 15:05:13 PDT 2005
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.13 -> 1.14
---
Log message:
don't emit the namespace inside the class!
---
Diffs of the changes: (+1 -2)
DAGISelEmitter.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.13 llvm/utils/TableGen/DAGISelEmitter.cpp:1.14
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.13 Tue Sep 13 17:03:37 2005
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Tue Sep 13 17:05:02 2005
@@ -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"
More information about the llvm-commits
mailing list