ARM .code directive should always go to the streamer.
authorJim Grosbach <grosbach@apple.com>
Tue, 6 Sep 2011 18:46:23 +0000 (18:46 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 6 Sep 2011 18:46:23 +0000 (18:46 +0000)
commit98447daa9559d5bf7816f084581b5ca073d316f6
treeb4c2f0d386049e3bdde1e639a60e0e1f4887685a
parent96428cea3d87aaac2e520a0df8f51c857ebf9cbd
ARM .code directive should always go to the streamer.

Even if there's no mode switch performed, the .code directive should still
be sent to the output streamer. Otherwise, for example, an output asm stream
is not equivalent to the input stream which generated it (a dependency on
the input target triple arm vs. thumb is introduced which was not originally
there).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139155 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp