summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/MC/MCAsmLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/MC/MCAsmLayout.h')
-rw-r--r--llvm/include/llvm/MC/MCAsmLayout.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/MC/MCAsmLayout.h b/llvm/include/llvm/MC/MCAsmLayout.h
index f7f32aed6ff..ebf0520d091 100644
--- a/llvm/include/llvm/MC/MCAsmLayout.h
+++ b/llvm/include/llvm/MC/MCAsmLayout.h
@@ -33,6 +33,11 @@ public:
/// Get the assembler object this is a layout for.
MCAssembler &getAssembler() const { return Assembler; }
+ /// \brief Update the layout because a fragment has been resized. The
+ /// fragments size should have already been updated, the \arg SlideAmount is
+ /// the delta from the old size.
+ void UpdateForSlide(MCFragment *F, int SlideAmount);
+
/// @name Fragment Layout Data
/// @{
OpenPOWER on IntegriCloud