summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CBackend/CBackend.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-13 22:18:28 +0000
committerOwen Anderson <resistor@mac.com>2009-07-13 22:18:28 +0000
commitbb2501bbbe446b28ce94597735d6eefd8a0bc108 (patch)
tree4a01165735990d894dffa900439ac97aa16d2a7c /llvm/lib/Target/CBackend/CBackend.cpp
parent4f57d77e40078220bb2049789c8cee63399be046 (diff)
downloadbcm5719-llvm-bb2501bbbe446b28ce94597735d6eefd8a0bc108.tar.gz
bcm5719-llvm-bb2501bbbe446b28ce94597735d6eefd8a0bc108.zip
These don't really need contexts either.
llvm-svn: 75528
Diffstat (limited to 'llvm/lib/Target/CBackend/CBackend.cpp')
-rw-r--r--llvm/lib/Target/CBackend/CBackend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/CBackend/CBackend.cpp b/llvm/lib/Target/CBackend/CBackend.cpp
index a403f2e9f1c..ac453581dfd 100644
--- a/llvm/lib/Target/CBackend/CBackend.cpp
+++ b/llvm/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 << ")";
OpenPOWER on IntegriCloud