summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-11-23 03:29:18 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-11-23 03:29:18 +0000
commitae3d802953b5209e7e9530cd5b5d4e457a6974dc (patch)
tree79ce24f6253f541b3d881524f6945b0a28de0806 /include
parentc6501b13c0ffc9b0a01bb1d8771afa70afa59281 (diff)
downloadllvm-ae3d802953b5209e7e9530cd5b5d4e457a6974dc.tar.gz
llvm-ae3d802953b5209e7e9530cd5b5d4e457a6974dc.tar.bz2
llvm-ae3d802953b5209e7e9530cd5b5d4e457a6974dc.tar.xz
Remove unused LLVMContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/ValueTracking.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Analysis/ValueTracking.h b/include/llvm/Analysis/ValueTracking.h
index 038d442cc6..121da79cb9 100644
--- a/include/llvm/Analysis/ValueTracking.h
+++ b/include/llvm/Analysis/ValueTracking.h
@@ -86,16 +86,14 @@ namespace llvm {
Value *FindInsertedValue(Value *V,
const unsigned *idx_begin,
const unsigned *idx_end,
- LLVMContext &Context,
Instruction *InsertBefore = 0);
/// This is a convenience wrapper for finding values indexed by a single index
/// only.
inline Value *FindInsertedValue(Value *V, const unsigned Idx,
- LLVMContext &Context,
Instruction *InsertBefore = 0) {
const unsigned Idxs[1] = { Idx };
- return FindInsertedValue(V, &Idxs[0], &Idxs[1], Context, InsertBefore);
+ return FindInsertedValue(V, &Idxs[0], &Idxs[1], InsertBefore);
}
/// GetConstantStringInfo - This function computes the length of a