aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-01 07:28:37 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-01 07:28:37 +0000
commitded5ed873fa7cd85f0b9d7c677b81dddf9a61eaa (patch)
treeca2a8779302bf22d8523c58bcfcdd07225b82363 /include
parentd4d68ba4b80d0ef48409d822617e345adc855287 (diff)
downloadexternal_llvm-ded5ed873fa7cd85f0b9d7c677b81dddf9a61eaa.zip
external_llvm-ded5ed873fa7cd85f0b9d7c677b81dddf9a61eaa.tar.gz
external_llvm-ded5ed873fa7cd85f0b9d7c677b81dddf9a61eaa.tar.bz2
For 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 5d1a0e3..0f135e2 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -911,7 +911,7 @@ public:
/// 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;