Add parentheses to pacify gcc, which warns otherwise.
authorDuncan Sands <baldrick@free.fr>
Thu, 21 Oct 2010 16:02:12 +0000 (16:02 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 21 Oct 2010 16:02:12 +0000 (16:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117020 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index d9b0ef20a3e55832ea7ecbddc48241ab4e370864..ca812c84bd6ed0ac132f2fd087e32a849a0f1ace 100644 (file)
@@ -7483,7 +7483,7 @@ SDValue X86TargetLowering::LowerBRCOND(SDValue Op, SelectionDAG &DAG) const {
 SDValue
 X86TargetLowering::LowerDYNAMIC_STACKALLOC(SDValue Op,
                                            SelectionDAG &DAG) const {
-  assert(Subtarget->isTargetCygMing() || Subtarget->isTargetWindows() &&
+  assert((Subtarget->isTargetCygMing() || Subtarget->isTargetWindows()) &&
          "This should be used only on Windows targets");
   DebugLoc dl = Op.getDebugLoc();