aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-05 16:36:26 +0000
committerDan Gohman <gohman@apple.com>2009-10-05 16:36:26 +0000
commitf49f7b0e07de54727532f40a75be162878b882c7 (patch)
treef3872090404ff088929d722ca3bbe750fec2dc49 /include
parent3af2d41b3ea4d448dffb3761ea0339e7025ec447 (diff)
downloadexternal_llvm-f49f7b0e07de54727532f40a75be162878b882c7.zip
external_llvm-f49f7b0e07de54727532f40a75be162878b882c7.tar.gz
external_llvm-f49f7b0e07de54727532f40a75be162878b882c7.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')
-rw-r--r--include/llvm/Analysis/ConstantFolding.h3
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.