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)
commit0f74f173f7bd513b62274d92629a47ad6d181c66
treeb9b073975f0be8b3252d84a2968b9f43fd59d872
parent0d3ed6f1c238bd2970fb6b7973ef448fb191ce87
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.

llvm-svn: 169886
llvm/lib/MC/MCAssembler.cpp