[llvm-commits] CVS: llvm/include/llvm/Target/TargetAsmInfo.h

Chris Lattner sabre at nondot.org
Wed Oct 4 19:42:00 PDT 2006



Changes in directory llvm/include/llvm/Target:

TargetAsmInfo.h updated: 1.6 -> 1.7
---
Log message:

move getSectionForFunction to AsmPrinter.


---
Diffs of the changes:  (+0 -8)

 TargetAsmInfo.h |    8 --------
 1 files changed, 8 deletions(-)


Index: llvm/include/llvm/Target/TargetAsmInfo.h
diff -u llvm/include/llvm/Target/TargetAsmInfo.h:1.6 llvm/include/llvm/Target/TargetAsmInfo.h:1.7
--- llvm/include/llvm/Target/TargetAsmInfo.h:1.6	Wed Oct  4 19:35:16 2006
+++ llvm/include/llvm/Target/TargetAsmInfo.h	Wed Oct  4 21:41:43 2006
@@ -266,14 +266,6 @@
     TargetAsmInfo();
     virtual ~TargetAsmInfo();
 
-    /// 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 {
-      return TextSection;
-    }
-    
     //
     // Accessors.
     //






More information about the llvm-commits mailing list