diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp index 6092ab67b5f..64995522422 100644 --- a/lib/Target/Alpha/AlphaTargetAsmInfo.cpp +++ b/lib/Target/Alpha/AlphaTargetAsmInfo.cpp @@ -24,8 +24,3 @@ AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) JumpTableDataSection = "\t.section .rodata\n"; WeakRefDirective = "\t.weak\t"; } - -unsigned AlphaTargetAsmInfo::RelocBehaviour() const { - return (TM.getRelocationModel() != Reloc::Static ? - Reloc::LocalOrGlobal : Reloc::Global); -} diff --git a/lib/Target/Alpha/AlphaTargetAsmInfo.h b/lib/Target/Alpha/AlphaTargetAsmInfo.h index 7675b26f6e8..0b50de858fc 100644 --- a/lib/Target/Alpha/AlphaTargetAsmInfo.h +++ b/lib/Target/Alpha/AlphaTargetAsmInfo.h @@ -23,8 +23,6 @@ namespace llvm { struct AlphaTargetAsmInfo : public TargetAsmInfo { explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM); - - virtual unsigned RelocBehaviour() const; }; } // namespace llvm