diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-05-12 22:56:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-12 22:56:23 +0000 |
commit | 1c15413ebc8f4a35545a381a789a718627396d03 (patch) | |
tree | ff0cd8f9cf047136c0faeb72567a40b31d748838 /lib/MC/MCAssembler.cpp | |
parent | 4e544870c4c3f81b150e4c3b38a18d629d706b74 (diff) | |
download | external_llvm-1c15413ebc8f4a35545a381a789a718627396d03.zip external_llvm-1c15413ebc8f4a35545a381a789a718627396d03.tar.gz external_llvm-1c15413ebc8f4a35545a381a789a718627396d03.tar.bz2 |
MC: Move MCAlignFragment::EmitNops value out of the constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAssembler.cpp')
-rw-r--r-- | lib/MC/MCAssembler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp index d5ff949..0bab34e 100644 --- a/lib/MC/MCAssembler.cpp +++ b/lib/MC/MCAssembler.cpp @@ -498,7 +498,7 @@ static void WriteFragmentData(const MCAssembler &Asm, const MCAsmLayout &Layout, // the Count bytes. Then if that did not fill any bytes or there are any // bytes left to fill use the the Value and ValueSize to fill the rest. // If we are aligning with nops, ask that target to emit the right data. - if (AF.getEmitNops()) { + if (AF.hasEmitNops()) { if (!Asm.getBackend().WriteNopData(Count, OW)) report_fatal_error("unable to write nop sequence of " + Twine(Count) + " bytes"); |