Remove the RelaxAll overrule in MCAssembler::fixupNeedsRelaxation,
authorEli Bendersky <eliben@google.com>
Tue, 11 Dec 2012 17:16:00 +0000 (17:16 +0000)
committerEli Bendersky <eliben@google.com>
Tue, 11 Dec 2012 17:16:00 +0000 (17:16 +0000)
commit37a9830d20018dee5557a3a72f750d965ba383c5
tree2b7481ca36d6eed4ef724b4c67e8b88afd9f65af
parent0439f3e0cf67049877578aa9ae94f7a0a90e86e7
Remove the RelaxAll overrule in MCAssembler::fixupNeedsRelaxation,
because that method is only getting called for MCInstFragment. These
fragments aren't even generated when RelaxAll is set, which is why the
flag reference here is superfluous. Removing it simplifies the code
with no harmful effects.

An assertion is added higher up to make sure this path is never
reached.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169886 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCAssembler.cpp