diff options
author | Dan Gohman <gohman@apple.com> | 2009-10-05 16:36:26 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-10-05 16:36:26 +0000 |
commit | c6f69e94fa46f585b59bb9d7ace3224b0e638c95 (patch) | |
tree | f3872090404ff088929d722ca3bbe750fec2dc49 /include/llvm/Analysis | |
parent | e41a115e6a5c8c45122772557f04aa1917174c11 (diff) | |
download | external_llvm-c6f69e94fa46f585b59bb9d7ace3224b0e638c95.zip external_llvm-c6f69e94fa46f585b59bb9d7ace3224b0e638c95.tar.gz external_llvm-c6f69e94fa46f585b59bb9d7ace3224b0e638c95.tar.bz2 |
Remove an unnnecessary LLVMContext argument in
ConstantFoldLoadThroughGEPConstantExpr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/ConstantFolding.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Analysis/ConstantFolding.h b/include/llvm/Analysis/ConstantFolding.h index 263d42a..9805c6c 100644 --- a/include/llvm/Analysis/ConstantFolding.h +++ b/include/llvm/Analysis/ConstantFolding.h @@ -66,8 +66,7 @@ Constant *ConstantFoldCompareInstOperands(unsigned Predicate, /// ConstantFoldLoadThroughGEPConstantExpr - Given a constant and a /// getelementptr constantexpr, return the constant value being addressed by the /// constant expression, or null if something is funny and we can't decide. -Constant *ConstantFoldLoadThroughGEPConstantExpr(Constant *C, ConstantExpr *CE, - LLVMContext &Context); +Constant *ConstantFoldLoadThroughGEPConstantExpr(Constant *C, ConstantExpr *CE); /// canConstantFoldCallTo - Return true if its even possible to fold a call to /// the specified function. |