summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-04-25 16:32:20 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-04-25 16:32:20 +0000
commita62efd82ccb979df9e7b8f99913c83d698a6994e (patch)
treec49d11c009e3ec87b191feb1d930e755cf8e32d1
parent40a2b653e165b5afc2f612b4b3edbb54a7b5eb59 (diff)
Remove a dead function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155553 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 76201c96f91..9329338976e 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -144,12 +144,6 @@ namespace llvm {
return (1000.0 * I.getSize()) / indexes_->getIndexesLength();
}
- /// getFuncInstructionCount - Return the number of instructions in the
- /// current function.
- unsigned getFuncInstructionCount() {
- return indexes_->getFunctionSize();
- }
-
/// getApproximateInstructionCount - computes an estimate of the number
/// of instructions in a given LiveInterval.
unsigned getApproximateInstructionCount(LiveInterval& I) {