diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-17 20:03:54 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-17 20:03:54 +0000 |
commit | f2dc4aa562e2478a73fe5aeeeec16b1e496a0642 (patch) | |
tree | ad08e8d349da1a581a63782de47253d55166bb62 /lib/Target/MBlaze | |
parent | 46c478e80255bb1475e712ebb119808a9d0b9e12 (diff) | |
download | external_llvm-f2dc4aa562e2478a73fe5aeeeec16b1e496a0642.zip external_llvm-f2dc4aa562e2478a73fe5aeeeec16b1e496a0642.tar.gz external_llvm-f2dc4aa562e2478a73fe5aeeeec16b1e496a0642.tar.bz2 |
make isVirtualSection a virtual method on MCSection. Chris' suggestion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze')
-rw-r--r-- | lib/Target/MBlaze/MBlazeAsmBackend.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Target/MBlaze/MBlazeAsmBackend.cpp b/lib/Target/MBlaze/MBlazeAsmBackend.cpp index 944ebf1..6fc36f7 100644 --- a/lib/Target/MBlaze/MBlazeAsmBackend.cpp +++ b/lib/Target/MBlaze/MBlazeAsmBackend.cpp @@ -96,11 +96,6 @@ public: void ApplyFixup(const MCFixup &Fixup, MCDataFragment &DF, uint64_t Value) const; - bool isVirtualSection(const MCSection &Section) const { - const MCSectionELF &SE = static_cast<const MCSectionELF&>(Section); - return SE.getType() == MCSectionELF::SHT_NOBITS; - } - MCObjectWriter *createObjectWriter(raw_ostream &OS) const { return createELFObjectWriter(OS, /*Is64Bit=*/false, OSType, ELF::EM_MBLAZE, |