diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-12 16:23:25 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-12 16:23:25 +0000 |
commit | cdff21264de2f2d0ba98cdf333618c6f0e822ef9 (patch) | |
tree | 81a19ddebcd4474dbc5c3e0f1e82935dd5831eb5 /include/llvm/Support/IRBuilder.h | |
parent | fe91cd65cbe6dcd9723ef35f9e6cacab7bbb4388 (diff) | |
download | external_llvm-cdff21264de2f2d0ba98cdf333618c6f0e822ef9.zip external_llvm-cdff21264de2f2d0ba98cdf333618c6f0e822ef9.tar.gz external_llvm-cdff21264de2f2d0ba98cdf333618c6f0e822ef9.tar.bz2 |
Remove a bunch more now-unnecessary Context arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/IRBuilder.h')
-rw-r--r-- | include/llvm/Support/IRBuilder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h index 2e24d5e..9e0073a 100644 --- a/include/llvm/Support/IRBuilder.h +++ b/include/llvm/Support/IRBuilder.h @@ -325,17 +325,17 @@ public: Value *CreateNeg(Value *V, const char *Name = "") { if (Constant *VC = dyn_cast<Constant>(V)) return Folder.CreateNeg(VC); - return Insert(BinaryOperator::CreateNeg(Context, V), Name); + return Insert(BinaryOperator::CreateNeg(V), Name); } Value *CreateFNeg(Value *V, const char *Name = "") { if (Constant *VC = dyn_cast<Constant>(V)) return Folder.CreateFNeg(VC); - return Insert(BinaryOperator::CreateFNeg(Context, V), Name); + return Insert(BinaryOperator::CreateFNeg(V), Name); } Value *CreateNot(Value *V, const char *Name = "") { if (Constant *VC = dyn_cast<Constant>(V)) return Folder.CreateNot(VC); - return Insert(BinaryOperator::CreateNot(Context, V), Name); + return Insert(BinaryOperator::CreateNot(V), Name); } //===--------------------------------------------------------------------===// |