summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCAsmBackend.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-11-17 20:03:54 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-11-17 20:03:54 +0000
commit7a2cd8b5401ef57af7bd5164c4305961708fe264 (patch)
tree1b0d9bde0cc63a8543653d8a3396e84652429c3a /llvm/lib/Target/PowerPC/PPCAsmBackend.cpp
parentbced7ae04663b4b9e30b5f8a6d9479f467cb60cb (diff)
downloadbcm5719-llvm-7a2cd8b5401ef57af7bd5164c4305961708fe264.tar.gz
bcm5719-llvm-7a2cd8b5401ef57af7bd5164c4305961708fe264.zip
make isVirtualSection a virtual method on MCSection. Chris' suggestion.
llvm-svn: 119547
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCAsmBackend.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCAsmBackend.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCAsmBackend.cpp b/llvm/lib/Target/PowerPC/PPCAsmBackend.cpp
index a6d1426daf0..6a6177063f5 100644
--- a/llvm/lib/Target/PowerPC/PPCAsmBackend.cpp
+++ b/llvm/lib/Target/PowerPC/PPCAsmBackend.cpp
@@ -68,13 +68,6 @@ namespace {
assert(0 && "UNIMP");
}
- bool isVirtualSection(const MCSection &Section) const {
- const MCSectionMachO &SMO = static_cast<const MCSectionMachO&>(Section);
- return (SMO.getType() == MCSectionMachO::S_ZEROFILL ||
- SMO.getType() == MCSectionMachO::S_GB_ZEROFILL ||
- SMO.getType() == MCSectionMachO::S_THREAD_LOCAL_ZEROFILL);
- }
-
MCObjectWriter *createObjectWriter(raw_ostream &OS) const {
bool is64 = getPointerSize() == 8;
return createMachObjectWriter(OS, /*Is64Bit=*/is64,
OpenPOWER on IntegriCloud