Refactor MCInstFragment and MCDataFragment to adhere to a common interface,
authorEli Bendersky <eliben@google.com>
Fri, 7 Dec 2012 19:13:57 +0000 (19:13 +0000)
committerEli Bendersky <eliben@google.com>
Fri, 7 Dec 2012 19:13:57 +0000 (19:13 +0000)
commita31a894eede101b92dabd67d553d901db50e7ab5
tree112c914abd02d7326a94583a06c2d523bb5e72ab
parent95afbf517afc7d8bee70cfde65cfc4fa0093956d
Refactor MCInstFragment and MCDataFragment to adhere to a common interface,
which removes code duplication and prepares the ground for future additions.

Full discussion:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121203/158233.html

llvm-svn: 169626
llvm/include/llvm/MC/MCAssembler.h
llvm/lib/MC/MCAssembler.cpp
llvm/lib/MC/MCELFStreamer.cpp
llvm/lib/MC/MCMachOStreamer.cpp
llvm/lib/MC/MCObjectStreamer.cpp
llvm/lib/MC/MCPureStreamer.cpp
llvm/lib/MC/WinCOFFStreamer.cpp