diff options
author | Chris Lattner <sabre@nondot.org> | 2010-07-22 21:27:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-07-22 21:27:00 +0000 |
commit | 2062875a7d8f7dd94a20d9e3a298e9e216efb4b5 (patch) | |
tree | 4935a2bccb99209e7e5522b978487eeb746435a8 /include | |
parent | 77beeaec1ebd76b4cd21ebeb3535c8bffcb6765e (diff) | |
download | external_llvm-2062875a7d8f7dd94a20d9e3a298e9e216efb4b5.zip external_llvm-2062875a7d8f7dd94a20d9e3a298e9e216efb4b5.tar.gz external_llvm-2062875a7d8f7dd94a20d9e3a298e9e216efb4b5.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 6609e2a..d5fe33f 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -566,13 +566,6 @@ public: const MachineBasicBlock *MBB, const MachineFunction &MF) const = 0; - /// GetInstSize - Returns the size of the specified Instruction. - /// - virtual unsigned GetInstSizeInBytes(const MachineInstr *MI) const { - assert(0 && "Target didn't implement TargetInstrInfo::GetInstSize!"); - return 0; - } - /// Measure the specified inline asm to determine an approximation of its /// length. virtual unsigned getInlineAsmLength(const char *Str, |