[cfe-commits] r43508 - /cfe/trunk/CodeGen/CGExprScalar.cpp
Devang Patel
dpatel at apple.com
Tue Oct 30 11:31:12 PDT 2007
Author: dpatel
Date: Tue Oct 30 13:31:12 2007
New Revision: 43508
URL: http://llvm.org/viewvc/llvm-project?rev=43508&view=rev
Log:
Remove commented out line.
Modified:
cfe/trunk/CodeGen/CGExprScalar.cpp
Modified: cfe/trunk/CodeGen/CGExprScalar.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGExprScalar.cpp?rev=43508&r1=43507&r2=43508&view=diff
==============================================================================
--- cfe/trunk/CodeGen/CGExprScalar.cpp (original)
+++ cfe/trunk/CodeGen/CGExprScalar.cpp Tue Oct 30 13:31:12 2007
@@ -622,8 +622,7 @@
// Do not merge types for -= or += where the LHS is a pointer.
if (!(E->getOpcode() == BinaryOperator::SubAssign ||
- E->getOpcode() == BinaryOperator::AddAssign) ||
- // if (E->getOpcode() != BinaryOperator::SubAssign ||
+ E->getOpcode() == BinaryOperator::AddAssign) ||
!E->getLHS()->getType()->isPointerType()) {
OpInfo.RHS = EmitScalarConversion(OpInfo.RHS, RHSTy, ComputeType);
}
More information about the cfe-commits
mailing list