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 | 4ae5126d041768ab9665cf2f11c024becd76c41f (patch) | |
tree | 81a19ddebcd4474dbc5c3e0f1e82935dd5831eb5 /include/llvm/Support/IRBuilder.h | |
parent | 186a636b680d37fd6b06b31436cb657983d6b481 (diff) |
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 2e24d5ec1d..9e0073a378 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); } //===--------------------------------------------------------------------===// |