Constify most methods. We could have constified doInitialization and
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 24 Jul 2003 17:30:45 +0000 (17:30 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 24 Jul 2003 17:30:45 +0000 (17:30 +0000)
commitb3011a01b5e05efd72896f125a6dda3e669457e0
tree9cd811e946ffb8dfccbf785facb8459a1cfb4874
parentc3c1d32043c962fbdfc34857bd03385504a55631
Constify most methods. We could have constified doInitialization and
doFinalization too except that would have made them shadow, not override,
the parent class :-P.

Allow *any* constant cast expression between pointers and longs,
or vice-versa, or any widening (not just same-size) conversion that
isLosslesslyConvertibleTo approves. This fixes oopack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7288 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/Printer.cpp
lib/Target/X86/X86AsmPrinter.cpp