diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-05-12 21:35:25 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-12 21:35:25 +0000 |
commit | f0d17d2461a6458568672f611ba4a590d26b1e1a (patch) | |
tree | d79ffc96da2f0f99e46f518051e91335790ffeaf /include/llvm | |
parent | 2d891a20e665136a603cc0a076ed1ebbd4703f47 (diff) | |
download | external_llvm-f0d17d2461a6458568672f611ba4a590d26b1e1a.zip external_llvm-f0d17d2461a6458568672f611ba4a590d26b1e1a.tar.gz external_llvm-f0d17d2461a6458568672f611ba4a590d26b1e1a.tar.bz2 |
MC: Factor out MCAssembler::LayoutFragment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/MC/MCAssembler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h index c34c951..8bd6734 100644 --- a/include/llvm/MC/MCAssembler.h +++ b/include/llvm/MC/MCAssembler.h @@ -668,6 +668,11 @@ private: bool FragmentNeedsRelaxation(const MCInstFragment *IF, const MCAsmLayout &Layout) const; + /// LayoutFragment - Performs layout of the given \arg Fragment; assuming that + /// the previous fragment has already been layed out correctly, and the parent + /// section has been initialized. + void LayoutFragment(MCAsmLayout &Layout, MCFragment &Fragment); + /// LayoutSection - Performs layout of the section referenced by the given /// \arg SectionOrderIndex. The layout assumes that the previous section has /// already been layed out correctly. |