Change "Name" to "AsmName" in the target register info. Gee, a refactoring tool

would have been a Godsend here!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2008-02-26 21:11:01 +00:00
parent 4d535cadf1
commit 74ab84c31e
28 changed files with 88 additions and 85 deletions

View File

@ -146,7 +146,7 @@ static inline void OutputReg(std::ostream &os, unsigned RegNo,
const TargetRegisterInfo *TRI = 0) {
if (!RegNo || TargetRegisterInfo::isPhysicalRegister(RegNo)) {
if (TRI)
os << " %" << TRI->get(RegNo).Name;
os << " %" << TRI->get(RegNo).PrintableName;
else
os << " %mreg(" << RegNo << ")";
} else