summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-05 02:42:20 +0000
committerChris Lattner <sabre@nondot.org>2006-10-05 02:42:20 +0000
commit028d663ee6c490745fca5fd8a970d35de352b8f4 (patch)
treedb21b38b53690f79b3bf44495f8f99fa309a56a9 /llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h
parent0dca9271487a1afe253760b8c0850ea6453c3116 (diff)
downloadbcm5719-llvm-028d663ee6c490745fca5fd8a970d35de352b8f4.tar.gz
bcm5719-llvm-028d663ee6c490745fca5fd8a970d35de352b8f4.zip
Move getSectionForFunction to AsmPrinter, change it to return a string.
llvm-svn: 30735
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h
index 6188862e9f7..ed8574c40d6 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h
+++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.h
@@ -23,12 +23,6 @@ namespace llvm {
struct DarwinTargetAsmInfo : public TargetAsmInfo {
DarwinTargetAsmInfo(const PPCTargetMachine &TM);
-
- /// getSectionForFunction - Return the section that we should emit the
- /// specified function body into. This defaults to 'TextSection'. This
- /// should most likely be overridden by the target to put linkonce/weak
- /// functions into special sections.
- virtual const char *getSectionForFunction(const Function &F) const;
};
} // namespace llvm
OpenPOWER on IntegriCloud