diff options
| -rw-r--r-- | llvm/include/llvm/Target/TargetRegInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Target/TargetRegInfo.h b/llvm/include/llvm/Target/TargetRegInfo.h index 4f809bfb158..0a1a63bf9aa 100644 --- a/llvm/include/llvm/Target/TargetRegInfo.h +++ b/llvm/include/llvm/Target/TargetRegInfo.h @@ -192,7 +192,7 @@ public: virtual int getClassRegNum(int unifiedRegNum, unsigned& regClassID) const =0; // Returns the assembly-language name of the specified machine register. - virtual const std::string getUnifiedRegName(int UnifiedRegNum) const = 0; + virtual const char * const getUnifiedRegName(int UnifiedRegNum) const = 0; // The following 4 methods are used to find the RegType (a target-specific // enum) for a reg class and a given primitive type, a LiveRange, a Value, |

