eliminate the TargetInstrInfo::GetInstSizeInBytes hook.
authorChris Lattner <sabre@nondot.org>
Thu, 22 Jul 2010 21:27:00 +0000 (21:27 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 Jul 2010 21:27:00 +0000 (21:27 +0000)
commit2062875a7d8f7dd94a20d9e3a298e9e216efb4b5
tree4935a2bccb99209e7e5522b978487eeb746435a8
parent77beeaec1ebd76b4cd21ebeb3535c8bffcb6765e
eliminate the TargetInstrInfo::GetInstSizeInBytes hook.
ARM/PPC/MSP430-specific code (which are the only targets that
implement the hook) can directly reference their target-specific
instrinfo classes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109171 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
lib/Target/ARM/ARMBaseInstrInfo.h
lib/Target/ARM/ARMConstantIslandPass.cpp
lib/Target/MSP430/MSP430BranchSelector.cpp
lib/Target/PowerPC/PPCBranchSelector.cpp