diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-08-12 21:24:55 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-08-12 21:24:55 +0000 |
| commit | f43b003aba6f9c596dc64562b047f454819e439b (patch) | |
| tree | c1f84597abc3fc4e41efa30bae87e0066b3018fc | |
| parent | 41e99a07f1f9a70e7287f18ceae21c88ccf44b0a (diff) | |
| download | bcm5719-llvm-f43b003aba6f9c596dc64562b047f454819e439b.tar.gz bcm5719-llvm-f43b003aba6f9c596dc64562b047f454819e439b.zip | |
Return const char * const instead of std::string from get register name method
llvm-svn: 3294
| -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, |

