Now that RelocBehaviour() is never overloaded, it doesn't need to be

virtual.  Just inline it into its two current call sites in preparation
for simplifying the code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-07-21 23:47:11 +00:00
parent 248f80d488
commit 97d2cae44b
3 changed files with 10 additions and 17 deletions

View File

@@ -601,13 +601,6 @@ namespace llvm {
virtual SectionKind::Kind
SectionKindForGlobal(const GlobalValue *GV) const;
/// RelocBehaviour - Describes how relocations should be treated when
/// selecting sections. Reloc::Global bit should be set if global
/// relocations should force object to be placed in read-write
/// sections. Reloc::Local bit should be set if local relocations should
/// force object to be placed in read-write sections.
virtual unsigned RelocBehaviour() const;
/// SectionFlagsForGlobal - This hook allows the target to select proper
/// section flags either for given global or for section.
// FIXME: Eliminate this.