summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/TargetInstrInfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/TargetInstrInfo.cpp b/llvm/lib/Target/TargetInstrInfo.cpp
index 20f32a2ad9b..d1413510fff 100644
--- a/llvm/lib/Target/TargetInstrInfo.cpp
+++ b/llvm/lib/Target/TargetInstrInfo.cpp
@@ -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());
-}
OpenPOWER on IntegriCloud