]> granicus.if.org Git - clang/commitdiff
Remove commented out line.
authorDevang Patel <dpatel@apple.com>
Tue, 30 Oct 2007 18:31:12 +0000 (18:31 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 30 Oct 2007 18:31:12 +0000 (18:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43508 91177308-0d34-0410-b5e6-96231b3b80d8

CodeGen/CGExprScalar.cpp

index e443a2636abb7ad50b71ad3f1f6d904ad01480d3..277bcdea2c4eb61a198ffc6923b0012f53a19e89 100644 (file)
@@ -622,8 +622,7 @@ Value *ScalarExprEmitter::EmitCompoundAssign(const CompoundAssignOperator *E,
   
   // 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);
   }