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)
commit64d9a3233476553fc950f0f2fc6a2cdd2a4c05cf
tree42e99ad39f9203c0caf206319b45449bf7723230
parente4ccfef809a1a47f1386bb2767b8c77e64644435
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169626 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAssembler.h
lib/MC/MCAssembler.cpp
lib/MC/MCELFStreamer.cpp
lib/MC/MCMachOStreamer.cpp
lib/MC/MCObjectStreamer.cpp
lib/MC/MCPureStreamer.cpp
lib/MC/WinCOFFStreamer.cpp