Remove. Not needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37139 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-05-17 00:11:35 +00:00
parent e425956b72
commit d9e9efb253
2 changed files with 0 additions and 9 deletions

View File

@ -394,11 +394,6 @@ public:
virtual bool PredicateInstruction(MachineInstr *MI,
std::vector<MachineOperand> &Cond) const;
/// getBlockSize - Calculate the size of the specified MachineBasicBlock.
/// Note the result may not be 100% accurate especially if there are inline
/// asm's in the block.
virtual unsigned getBlockSize(MachineBasicBlock *MBB) const;
/// getPointerRegClass - Returns a TargetRegisterClass used for pointer
/// values.
virtual const TargetRegisterClass *getPointerRegClass() const {

View File

@ -84,7 +84,3 @@ bool TargetInstrInfo::PredicateInstruction(MachineInstr *MI,
}
return MadeChange;
}
unsigned TargetInstrInfo::getBlockSize(MachineBasicBlock *MBB) const {
return (unsigned)std::distance(MBB->begin(), MBB->end());
}