[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h

Reid Spencer reid at x10sys.com
Sun Apr 1 00:28:54 PDT 2007



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.182 -> 1.183
---
Log message:

For PR1297: http://llvm.org/PR1297 :
Intrinsic functions might need to be generated (if they are overloaded) so
returning a const char* is no longer possible. Change getOperationName to
return a std::string instead.


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

 SelectionDAGNodes.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.182 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.183
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.182	Fri Mar 23 13:44:11 2007
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Sun Apr  1 02:28:37 2007
@@ -911,7 +911,7 @@
 
   /// getOperationName - Return the opcode of this operation for printing.
   ///
-  const char* getOperationName(const SelectionDAG *G = 0) const;
+  std::string getOperationName(const SelectionDAG *G = 0) const;
   static const char* getIndexedModeName(ISD::MemIndexedMode AM);
   void dump() const;
   void dump(const SelectionDAG *G) const;






More information about the llvm-commits mailing list