aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/LiveIntervalAnalysis.h
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 /include/llvm/CodeGen/LiveIntervalAnalysis.h
parent40a2b653e165b5afc2f612b4b3edbb54a7b5eb59 (diff)
downloadexternal_llvm-a62efd82ccb979df9e7b8f99913c83d698a6994e.zip
external_llvm-a62efd82ccb979df9e7b8f99913c83d698a6994e.tar.gz
external_llvm-a62efd82ccb979df9e7b8f99913c83d698a6994e.tar.bz2
Remove a dead function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-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 76201c9..9329338 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) {