commit | f0a25de172e71282bba275a51ce75849e5407f8b | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Sep 13 20:31:40 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Sep 13 20:31:40 2009 +0000 |
tree | bdebd66dc5839c531daa0e8cb60d1a0d85793399 | |
parent | 213703ced9eeaa585c06387ae3c643ea4701462e [diff] [blame] |
remove all but one reference to TargetRegisterDesc::AsmName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81714 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp index abec865..523c27c 100644 --- a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp +++ b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
@@ -131,10 +131,7 @@ switch (MO.getType()) { case MachineOperand::MO_Register: - if (TargetRegisterInfo::isPhysicalRegister(MO.getReg())) - O << TM.getRegisterInfo()->get(MO.getReg()).AsmName; - else - llvm_unreachable("not implemented"); + O << getRegisterName(MO.getReg()); return; case MachineOperand::MO_Immediate: