aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-10-06 16:18:29 +0000
committerDan Gohman <gohman@apple.com>2010-10-06 16:18:29 +0000
commit0dadb15927b912c98918e8a9e7466af77062149f (patch)
treea86691705727c45fa901b33cbd352a6b26712ce0 /include
parent14e8190f4329bc0ea4d8813da7486d3e05affc7c (diff)
downloadexternal_llvm-0dadb15927b912c98918e8a9e7466af77062149f.zip
external_llvm-0dadb15927b912c98918e8a9e7466af77062149f.tar.gz
external_llvm-0dadb15927b912c98918e8a9e7466af77062149f.tar.bz2
ComputeLinearIndex doesn't need its TLI argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/Analysis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/Analysis.h b/include/llvm/CodeGen/Analysis.h
index f33a9db..ee2e520 100644
--- a/include/llvm/CodeGen/Analysis.h
+++ b/include/llvm/CodeGen/Analysis.h
@@ -30,7 +30,7 @@ class GlobalVariable;
/// of insertvalue or extractvalue indices that identify a member, return
/// the linearized index of the start of the member.
///
-unsigned ComputeLinearIndex(const TargetLowering &TLI, const Type *Ty,
+unsigned ComputeLinearIndex(const Type *Ty,
const unsigned *Indices,
const unsigned *IndicesEnd,
unsigned CurIndex = 0);