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 | a7cc32a7b6d39d6ba87b69efe4ed0bb28712e73a (patch) | |
| tree | 414105ccfd4e6da8771fbe9778359d36972d422f /llvm/include | |
| parent | 2abec791f19497cd1cc1cb3e3f8c42726ab6f36a (diff) | |
| download | bcm5719-llvm-a7cc32a7b6d39d6ba87b69efe4ed0bb28712e73a.tar.gz bcm5719-llvm-a7cc32a7b6d39d6ba87b69efe4ed0bb28712e73a.zip | |
MC: Factor out MCAssembler::LayoutFragment
llvm-svn: 103649
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/MC/MCAssembler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/MC/MCAssembler.h b/llvm/include/llvm/MC/MCAssembler.h index c34c9519cd0..8bd67342009 100644 --- a/llvm/include/llvm/MC/MCAssembler.h +++ b/llvm/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. |

