aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetAsmInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-21 23:47:11 +0000
committerChris Lattner <sabre@nondot.org>2009-07-21 23:47:11 +0000
commit97d2cae44bb012b51d7781fd24fdbb4e73553b61 (patch)
treec34a63dff5cc71f365d81f4bb6455fc5efe7b2ae /include/llvm/Target/TargetAsmInfo.h
parent248f80d4880ef949686ecbd76b5f5b7c2a88d8db (diff)
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
Diffstat (limited to 'include/llvm/Target/TargetAsmInfo.h')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index a8da6cb78a..e59b12a7cd 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -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.