[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Reid Spencer reid at x10sys.com
Sun Apr 1 00:32:36 PDT 2007



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAG.cpp updated: 1.394 -> 1.395
---
Log message:

For PR1297: http://llvm.org/PR1297 :
Change getOperationName to return std::string instead of const char*


---
Diffs of the changes:  (+1 -1)

 SelectionDAG.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.394 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.395
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.394	Fri Mar 30 16:38:07 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp	Sun Apr  1 02:32:19 2007
@@ -2644,7 +2644,7 @@
   return cast<ConstantSDNode>(OperandList[Num])->getValue();
 }
 
-const char *SDNode::getOperationName(const SelectionDAG *G) const {
+std::string SDNode::getOperationName(const SelectionDAG *G) const {
   switch (getOpcode()) {
   default:
     if (getOpcode() < ISD::BUILTIN_OP_END)






More information about the llvm-commits mailing list