summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsAsmPrinter.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-09-24 22:13:07 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-09-24 22:13:07 +0000
commit69ff51baa0e051aee3a2a554b31aad8f15be3d74 (patch)
tree7f95a3026867cf1d0dd35e2539290f5ed935e1c2 /llvm/lib/Target/Mips/MipsAsmPrinter.cpp
parent7d002fa77b3d6eab83a59710b58bb2d30e4fec6b (diff)
downloadbcm5719-llvm-69ff51baa0e051aee3a2a554b31aad8f15be3d74.tar.gz
bcm5719-llvm-69ff51baa0e051aee3a2a554b31aad8f15be3d74.zip
Drop obsolete hook and change all usage to new interface
llvm-svn: 56572
Diffstat (limited to 'llvm/lib/Target/Mips/MipsAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/Mips/MipsAsmPrinter.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp b/llvm/lib/Target/Mips/MipsAsmPrinter.cpp
index 02455cf26d9..fbe3faa3393 100644
--- a/llvm/lib/Target/Mips/MipsAsmPrinter.cpp
+++ b/llvm/lib/Target/Mips/MipsAsmPrinter.cpp
@@ -59,7 +59,6 @@ namespace {
return "Mips Assembly Printer";
}
- virtual std::string getSectionForFunction(const Function &F) const;
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
unsigned AsmVariant, const char *ExtraCode);
void printOperand(const MachineInstr *MI, int opNum);
@@ -219,11 +218,6 @@ emitCurrentABIString(void)
return NULL;
}
-// Substitute old hook with new one temporary
-std::string MipsAsmPrinter::getSectionForFunction(const Function &F) const {
- return TAI->SectionForGlobal(&F);
-}
-
/// Emit the directives used by GAS on the start of functions
void MipsAsmPrinter::
emitFunctionStart(MachineFunction &MF)
OpenPOWER on IntegriCloud