aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/InlineCost.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-03-13 00:45:31 +0000
committerDevang Patel <dpatel@apple.com>2010-03-13 00:45:31 +0000
commitf96769bed208b8a3f82b53771350dc0a743db85a (patch)
tree6aa09a3e14f49fbc132597400dad593362d90577 /include/llvm/Analysis/InlineCost.h
parent3943ac38c946aaac21dbe686978d098770d7679e (diff)
downloadexternal_llvm-f96769bed208b8a3f82b53771350dc0a743db85a.zip
external_llvm-f96769bed208b8a3f82b53771350dc0a743db85a.tar.gz
external_llvm-f96769bed208b8a3f82b53771350dc0a743db85a.tar.bz2
Remove extra parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/InlineCost.h')
-rw-r--r--include/llvm/Analysis/InlineCost.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/InlineCost.h b/include/llvm/Analysis/InlineCost.h
index ea76ec1..a0c521d 100644
--- a/include/llvm/Analysis/InlineCost.h
+++ b/include/llvm/Analysis/InlineCost.h
@@ -152,7 +152,7 @@ namespace llvm {
/// CountCodeReductionForConstant - Figure out an approximation for how
/// many instructions will be constant folded if the specified value is
/// constant.
- unsigned CountCodeReductionForConstant(Value *V, CodeMetrics &M);
+ unsigned CountCodeReductionForConstant(Value *V);
/// CountCodeReductionForAlloca - Figure out an approximation of how much
/// smaller the function will be if it is inlined into a context where an