Drop obsolete hook and change all usage to new interface
[oota-llvm.git] / include / llvm / CodeGen / AsmPrinter.h
index 45ea5d8977402609934dd2c8a86ad1fc0a815b85..931e31a63c65645a115fb4f80dc66279b98e1774 100644 (file)
@@ -184,12 +184,6 @@ namespace llvm {
                                        unsigned AsmVariant, 
                                        const char *ExtraCode);
     
-    /// 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 std::string getSectionForFunction(const Function &F) const;
-    
     /// SetupMachineFunction - This should be called when a new MachineFunction
     /// is being processed from runOnMachineFunction.
     void SetupMachineFunction(MachineFunction &MF);