diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-13 22:18:28 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-13 22:18:28 +0000 |
commit | 76f49257ade1d702f831b4e21d616fe0c67b9d8f (patch) | |
tree | 033b1e9a873ad04863a5c5849ab515ba31d17e60 /lib/Target/CBackend/CBackend.cpp | |
parent | d3ecefe581feec837f2aa6f831d20d860cfb0e63 (diff) | |
download | external_llvm-76f49257ade1d702f831b4e21d616fe0c67b9d8f.zip external_llvm-76f49257ade1d702f831b4e21d616fe0c67b9d8f.tar.gz external_llvm-76f49257ade1d702f831b4e21d616fe0c67b9d8f.tar.bz2 |
These don't really need contexts either.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index a403f2e..ac45358 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -2621,11 +2621,11 @@ void CWriter::visitBinaryOperator(Instruction &I) { // If this is a negation operation, print it out as such. For FP, we don't // want to print "-0.0 - X". - if (BinaryOperator::isNeg(*Context, &I)) { + if (BinaryOperator::isNeg(&I)) { Out << "-("; writeOperand(BinaryOperator::getNegArgument(cast<BinaryOperator>(&I))); Out << ")"; - } else if (BinaryOperator::isFNeg(*Context, &I)) { + } else if (BinaryOperator::isFNeg(&I)) { Out << "-("; writeOperand(BinaryOperator::getFNegArgument(cast<BinaryOperator>(&I))); Out << ")"; |