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)



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to