diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-05-12 22:51:38 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-12 22:51:38 +0000 |
commit | 4e544870c4c3f81b150e4c3b38a18d629d706b74 (patch) | |
tree | 275078b92c9eafa64eff2a43a4048c2b04f2feab /include/llvm | |
parent | e2fee5b2369b4d6c31d3ad3b0a7d257e6df22041 (diff) | |
download | external_llvm-4e544870c4c3f81b150e4c3b38a18d629d706b74.zip external_llvm-4e544870c4c3f81b150e4c3b38a18d629d706b74.tar.gz external_llvm-4e544870c4c3f81b150e4c3b38a18d629d706b74.tar.bz2 |
MC: Eliminate MCZeroFillFragment, it is no longer needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/MC/MCAssembler.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h index 22b8ff4..bfec73f 100644 --- a/include/llvm/MC/MCAssembler.h +++ b/include/llvm/MC/MCAssembler.h @@ -69,8 +69,7 @@ public: FT_Data, FT_Fill, FT_Inst, - FT_Org, - FT_ZeroFill + FT_Org }; private: @@ -357,31 +356,6 @@ public: virtual void dump(); }; -/// MCZeroFillFragment - Represent data which has a fixed size and alignment, -/// but requires no physical space in the object file. -class MCZeroFillFragment : public MCFragment { - /// Size - The size of this fragment. - uint64_t Size; - -public: - MCZeroFillFragment(uint64_t _Size, MCSectionData *SD = 0) - : MCFragment(FT_ZeroFill, SD), Size(_Size) {} - - /// @name Accessors - /// @{ - - uint64_t getSize() const { return Size; } - - /// @} - - static bool classof(const MCFragment *F) { - return F->getKind() == MCFragment::FT_ZeroFill; - } - static bool classof(const MCZeroFillFragment *) { return true; } - - virtual void dump(); -}; - // FIXME: Should this be a separate class, or just merged into MCSection? Since // we anticipate the fast path being through an MCAssembler, the only reason to // keep it out is for API abstraction. |