mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 20:32:19 +00:00
For PR1297:
Change getOperationName to return std::string instead of const char* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35545 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc722d6516
commit
577cc32d9a
@ -2644,7 +2644,7 @@ uint64_t SDNode::getConstantOperandVal(unsigned Num) const {
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user