From 1e1ca0b56da1acaa6f6515d14df4ba6e6c0a9a9e Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Thu, 21 Oct 2010 16:02:12 +0000 Subject: [PATCH] Add parentheses to pacify gcc, which warns otherwise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117020 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index d9b0ef20a3e..ca812c84bd6 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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();