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 | fa82b6eba4e1584d7dba291c28fe908272e1e002 (patch) | |
tree | 033b1e9a873ad04863a5c5849ab515ba31d17e60 /lib/Target/CBackend/CBackend.cpp | |
parent | 0c39e3839a7d7e0dbd49b6b2d3e1bdc735b2b3aa (diff) |
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 a403f2e9f1..ac453581df 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 << ")"; |