Fix unnecessary removal of const through cast machinery
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 11 Feb 2013 01:16:51 +0000 (01:16 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 11 Feb 2013 01:16:51 +0000 (01:16 +0000)
commitb78e9e59ca9cf03ed024d43d6eb7bc92b7d995ff
tree6370c9f59fb098e597f7fa0eb042940d5f1c2d21
parent440d8e48ae7afe1231e93c0ac7dc67f328f3a1c1
Fix unnecessary removal of const through cast machinery

I have some uncommitted changes to the cast code that catch this sort of thing
at compile-time but I still need to do some other cleanup before I can enable
it.

llvm-svn: 174853
llvm/include/llvm/MC/MCObjectWriter.h
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/IR/AsmWriter.cpp
llvm/lib/MC/MCAssembler.cpp