projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
994b9f3
)
Return const char * const instead of std::string from get register name method
author
Chris Lattner
<sabre@nondot.org>
Mon, 12 Aug 2002 21:24:55 +0000
(21:24 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 12 Aug 2002 21:24:55 +0000
(21:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3294
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetRegInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetRegInfo.h
b/include/llvm/Target/TargetRegInfo.h
index 4f809bfb158e698896e3f59eb5b2a554f7bfff61..0a1a63bf9aa7f70ebfc61b1242cd980468281ed1 100644
(file)
--- a/
include/llvm/Target/TargetRegInfo.h
+++ b/
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,