[llvm-commits] [llvm] r155553 - /llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Apr 25 09:32:21 PDT 2012
Author: stoklund
Date: Wed Apr 25 11:32:20 2012
New Revision: 155553
URL: http://llvm.org/viewvc/llvm-project?rev=155553&view=rev
Log:
Remove a dead function.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h?rev=155553&r1=155552&r2=155553&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h Wed Apr 25 11:32:20 2012
@@ -144,12 +144,6 @@
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) {
More information about the llvm-commits
mailing list