From 74ab84c31ef64538a1b56e1f282e49303412ad17 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 26 Feb 2008 21:11:01 +0000 Subject: 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 --- lib/CodeGen/MachineFunction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/CodeGen/MachineFunction.cpp') diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index 3089617288..1e0171a39f 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -214,7 +214,7 @@ void MachineFunction::print(std::ostream &OS) const { for (MachineRegisterInfo::livein_iterator I = RegInfo->livein_begin(), E = RegInfo->livein_end(); I != E; ++I) { if (TRI) - OS << " " << TRI->getName(I->first); + OS << " " << TRI->getPrintableName(I->first); else OS << " Reg #" << I->first; @@ -228,7 +228,7 @@ void MachineFunction::print(std::ostream &OS) const { for (MachineRegisterInfo::liveout_iterator I = RegInfo->liveout_begin(), E = RegInfo->liveout_end(); I != E; ++I) if (TRI) - OS << " " << TRI->getName(*I); + OS << " " << TRI->getPrintableName(*I); else OS << " Reg #" << *I; OS << "\n"; -- cgit v1.2.3-18-g5258