mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Return const char * const instead of std::string from get register name method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3294 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
994b9f337b
commit
6ef3369321
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user