Add missing paratheses.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 22 Oct 2007 19:42:28 +0000 (19:42 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 22 Oct 2007 19:42:28 +0000 (19:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43227 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAllocLocal.cpp

index 6454900a3ee74ec588b672f787767b9fa7c15e4b..456c457a316e033262c469dc6bcba5d74ef56aad 100644 (file)
@@ -618,7 +618,7 @@ void RALocal::AllocateBasicBlock(MachineBasicBlock &MBB) {
         // Unallocatable register dead, ignore.
         continue;
       } else {
-        assert(!PhysRegsUsed[PhysReg] || PhysRegsUsed[PhysReg] == -1 &&
+        assert((!PhysRegsUsed[PhysReg] || PhysRegsUsed[PhysReg] == -1) &&
                "Silently clearing a virtual register?");
       }