summaryrefslogtreecommitdiff
path: root/include/llvm/Constant.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-01 20:48:08 +0000
committerChris Lattner <sabre@nondot.org>2010-02-01 20:48:08 +0000
commitb29d596072d2ba32a0bb59241baf7a1c0ff5ed94 (patch)
tree3523ec42c40409ed46b5168b618e022159f6ce7d /include/llvm/Constant.h
parenta419b56d896d5180adb14e39d5c969306bd5b400 (diff)
downloadllvm-b29d596072d2ba32a0bb59241baf7a1c0ff5ed94.tar.gz
llvm-b29d596072d2ba32a0bb59241baf7a1c0ff5ed94.tar.bz2
llvm-b29d596072d2ba32a0bb59241baf7a1c0ff5ed94.tar.xz
eliminate a bunch of pointless LLVMContext arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constant.h')
-rw-r--r--include/llvm/Constant.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h
index 8072fd9f49..8647299299 100644
--- a/include/llvm/Constant.h
+++ b/include/llvm/Constant.h
@@ -104,8 +104,7 @@ public:
/// type, returns the elements of the vector in the specified smallvector.
/// This handles breaking down a vector undef into undef elements, etc. For
/// constant exprs and other cases we can't handle, we return an empty vector.
- void getVectorElements(LLVMContext &Context,
- SmallVectorImpl<Constant*> &Elts) const;
+ void getVectorElements(SmallVectorImpl<Constant*> &Elts) const;
/// destroyConstant - Called if some element of this constant is no longer
/// valid. At this point only other constants may be on the use_list for this