From c24ea4fb41061acf696e9dd77022868d7ce69bb4 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! llvm-svn: 47625 --- llvm/lib/CodeGen/MachineFunction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/MachineFunction.cpp') diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 3089617..1e0171a 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/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.1