diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-05-12 22:51:27 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-12 22:51:27 +0000 |
commit | e73d49eda2cb4fc30b52c4a241acf69c8af98302 (patch) | |
tree | 6fd62d995a8f635a61d67a890e312e62e2a18dbb /include | |
parent | 2745f6e920dd8b562ded008e3e34acc873c5a36f (diff) | |
download | external_llvm-e73d49eda2cb4fc30b52c4a241acf69c8af98302.zip external_llvm-e73d49eda2cb4fc30b52c4a241acf69c8af98302.tar.gz external_llvm-e73d49eda2cb4fc30b52c4a241acf69c8af98302.tar.bz2 |
MC: Drop support for alignment in ZeroFill fragment, we can just use
MCAlignFragments for this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCAssembler.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h index 8bd6734..ddf4ec9 100644 --- a/include/llvm/MC/MCAssembler.h +++ b/include/llvm/MC/MCAssembler.h @@ -359,21 +359,15 @@ class MCZeroFillFragment : public MCFragment { /// Size - The size of this fragment. uint64_t Size; - /// Alignment - The alignment for this fragment. - unsigned Alignment; - public: - MCZeroFillFragment(uint64_t _Size, unsigned _Alignment, MCSectionData *SD = 0) - : MCFragment(FT_ZeroFill, SD), - Size(_Size), Alignment(_Alignment) {} + MCZeroFillFragment(uint64_t _Size, MCSectionData *SD = 0) + : MCFragment(FT_ZeroFill, SD), Size(_Size) {} /// @name Accessors /// @{ uint64_t getSize() const { return Size; } - unsigned getAlignment() const { return Alignment; } - /// @} static bool classof(const MCFragment *F) { |