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 | 5476cfdb15c2104fe847a9dd5bdae87c9aa54234 (patch) | |
| tree | b8aab37f91382899059f8cc1237becc99933289e /llvm/lib/Transforms/Scalar/Reassociate.cpp | |
| parent | 6b490ce4c74f1fdb48430deae78cacf444aaf5db (diff) | |
| download | bcm5719-llvm-5476cfdb15c2104fe847a9dd5bdae87c9aa54234.tar.gz bcm5719-llvm-5476cfdb15c2104fe847a9dd5bdae87c9aa54234.zip | |
Remove a bunch more now-unnecessary Context arguments.
llvm-svn: 78809
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Reassociate.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/Reassociate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/Reassociate.cpp b/llvm/lib/Transforms/Scalar/Reassociate.cpp index e8bc859517e..5592c909cf7 100644 --- a/llvm/lib/Transforms/Scalar/Reassociate.cpp +++ b/llvm/lib/Transforms/Scalar/Reassociate.cpp @@ -403,7 +403,7 @@ static Value *NegateValue(LLVMContext &Context, Value *V, Instruction *BI) { // Insert a 'neg' instruction that subtracts the value from zero to get the // negation. // - return BinaryOperator::CreateNeg(Context, V, V->getName() + ".neg", BI); + return BinaryOperator::CreateNeg(V, V->getName() + ".neg", BI); } /// ShouldBreakUpSubtract - Return true if we should break up this subtract of |

