aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2013-02-04 10:43:45 -0800
committerDerek Schuff <dschuff@chromium.org>2013-02-04 10:43:45 -0800
commit80abe0746cec97dd07ba74db157e85f6e83487a2 (patch)
tree3edb499ed31c708a87ec25f56d6918701d91c8e3 /include
parent3d5de9e56f3e5af59772bdf2cbedb0903d938bb8 (diff)
Cherry-pick not-yet-committed upstream change to fix relaxation at bundle end
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCAsmLayout.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/MC/MCAsmLayout.h b/include/llvm/MC/MCAsmLayout.h
index 8cb4601283..3058b7b487 100644
--- a/include/llvm/MC/MCAsmLayout.h
+++ b/include/llvm/MC/MCAsmLayout.h
@@ -60,9 +60,10 @@ public:
/// Get the assembler object this is a layout for.
MCAssembler &getAssembler() const { return Assembler; }
- /// \brief Invalidate the fragments after F because it has been resized.
- /// The fragment's size should have already been updated.
- void invalidateFragmentsAfter(MCFragment *F);
+ /// \brief Invalidate the fragments starting with F because it has been
+ /// resized. The fragment's size should have already been updated, but
+ /// its bundle padding will be recomputed.
+ void invalidateFragmentsFrom(MCFragment *F);
/// \brief Perform layout for a single fragment, assuming that the previous
/// fragment has already been laid out correctly, and the parent section has