forked from OSchip/llvm-project
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. llvm-svn: 35543
This commit is contained in:
parent
be23fb0370
commit
c7c4880ab1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue