summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCObjectStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-05-25 15:04:26 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-05-25 15:04:26 +0000
commitb028cc80989ccbdeb6940d89b1bac5a036377249 (patch)
tree0f01b264310859c39f604a891da7b6c991ba4ed6 /llvm/lib/MC/MCObjectStreamer.cpp
parentc1cd944854e2d654d93851788691a27295b98e48 (diff)
downloadbcm5719-llvm-b028cc80989ccbdeb6940d89b1bac5a036377249.tar.gz
bcm5719-llvm-b028cc80989ccbdeb6940d89b1bac5a036377249.zip
Move bundle info from MCSectionData to MCSection.
llvm-svn: 238143
Diffstat (limited to 'llvm/lib/MC/MCObjectStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCObjectStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCObjectStreamer.cpp b/llvm/lib/MC/MCObjectStreamer.cpp
index 3f32a36194f..b244c3a679c 100644
--- a/llvm/lib/MC/MCObjectStreamer.cpp
+++ b/llvm/lib/MC/MCObjectStreamer.cpp
@@ -254,7 +254,7 @@ void MCObjectStreamer::EmitInstruction(const MCInst &Inst,
// group. We want to emit all such instructions into the same data
// fragment.
if (Assembler.getRelaxAll() ||
- (Assembler.isBundlingEnabled() && SD->isBundleLocked())) {
+ (Assembler.isBundlingEnabled() && SD->getSection().isBundleLocked())) {
MCInst Relaxed;
getAssembler().getBackend().relaxInstruction(Inst, Relaxed);
while (getAssembler().getBackend().mayNeedRelaxation(Relaxed))
OpenPOWER on IntegriCloud