Return const char * const instead of std::string from get register name method

llvm-svn: 3294
This commit is contained in:
Chris Lattner 2002-08-12 21:24:55 +00:00
parent 41e99a07f1
commit f43b003aba
1 changed files with 1 additions and 1 deletions

View File

@ -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,