aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-02-26 21:11:01 +0000
committerBill Wendling <isanbard@gmail.com>2008-02-26 21:11:01 +0000
commit74ab84c31ef64538a1b56e1f282e49303412ad17 (patch)
treee81fc4181583f23b090bdceca5eda53bed117880 /lib/CodeGen/MachineBasicBlock.cpp
parent4d535cadf159d30619464f61f1386ffc9a340597 (diff)
downloadexternal_llvm-74ab84c31ef64538a1b56e1f282e49303412ad17.zip
external_llvm-74ab84c31ef64538a1b56e1f282e49303412ad17.tar.gz
external_llvm-74ab84c31ef64538a1b56e1f282e49303412ad17.tar.bz2
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
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r--lib/CodeGen/MachineBasicBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp
index dc6a618..5ca18d0 100644
--- a/lib/CodeGen/MachineBasicBlock.cpp
+++ b/lib/CodeGen/MachineBasicBlock.cpp
@@ -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