aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCAsmLayout.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-15 08:45:53 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-15 08:45:53 +0000
commit2bf6afc277edb32b1d940def5b3eb0e0d32a22b9 (patch)
treecccbb7a607e07c1166a377006aa31956f5d5797d /include/llvm/MC/MCAsmLayout.h
parentf9a447617329186976fe5ab8b48fe3c9c0698bc7 (diff)
downloadexternal_llvm-2bf6afc277edb32b1d940def5b3eb0e0d32a22b9.zip
external_llvm-2bf6afc277edb32b1d940def5b3eb0e0d32a22b9.tar.gz
external_llvm-2bf6afc277edb32b1d940def5b3eb0e0d32a22b9.tar.bz2
Relax alignment fragments.
With this we don't need the EffectiveSize field anymore. Without that field LayoutFragment only updates offsets and we don't need to invalidate the current fragment when it is relaxed (only the ones following it). This is also a very small improvement in the accuracy of the layout info as we now use the after relaxation size immediately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAsmLayout.h')
-rw-r--r--include/llvm/MC/MCAsmLayout.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/MC/MCAsmLayout.h b/include/llvm/MC/MCAsmLayout.h
index 64b0b4e..7ea0bac 100644
--- a/include/llvm/MC/MCAsmLayout.h
+++ b/include/llvm/MC/MCAsmLayout.h
@@ -76,10 +76,6 @@ public:
/// @name Fragment Layout Data
/// @{
- /// \brief Get the effective size of the given fragment, as computed in the
- /// current layout.
- uint64_t getFragmentEffectiveSize(const MCFragment *F) const;
-
/// \brief Get the offset of the given fragment inside its containing section.
uint64_t getFragmentOffset(const MCFragment *F) const;