summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16MemSelOpt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16MemSelOpt.cpp')
-rw-r--r--llvm/lib/Target/PIC16/PIC16MemSelOpt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16MemSelOpt.cpp b/llvm/lib/Target/PIC16/PIC16MemSelOpt.cpp
index 4edf22ea198..688fee2cf79 100644
--- a/llvm/lib/Target/PIC16/PIC16MemSelOpt.cpp
+++ b/llvm/lib/Target/PIC16/PIC16MemSelOpt.cpp
@@ -145,7 +145,7 @@ bool MemSelOpt::processInstruction(MachineInstr *MI) {
// External Symbol is generated for temp data and arguments. They are
// in fpdata.<functionname>.# section.
std::string Sym = Op.getSymbolName();
- NewBank = PIC16ABINames::getSectionNameForSym(Sym);
+ NewBank = PAN::getSectionNameForSym(Sym);
}
// If the previous and new section names are same, we don't need to
OpenPOWER on IntegriCloud