summaryrefslogtreecommitdiffstats
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
commite64664e1786c8a581be766db36f866f8e56ef98a (patch)
treedfd903609d967d1df1999f4c21c6bafc1fc9672a
parent983dd43b159e0becf11ba61c557619168e981276 (diff)
downloadbcm5719-llvm-e64664e1786c8a581be766db36f866f8e56ef98a.tar.gz
bcm5719-llvm-e64664e1786c8a581be766db36f866f8e56ef98a.zip
Remove a dead function.
llvm-svn: 155553
-rw-r--r--llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 76201c96f91..9329338976e 100644
--- a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/llvm/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) {
OpenPOWER on IntegriCloud