summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-22 19:42:28 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-22 19:42:28 +0000
commit5163a8f53ebb5ba424ff69de30ab1d35ba60fe70 (patch)
tree89c13d857a516bc5f231abe51a97de5c747926f7
parentfee916334a228aed146202f6a706efa95d76d63c (diff)
downloadbcm5719-llvm-5163a8f53ebb5ba424ff69de30ab1d35ba60fe70.tar.gz
bcm5719-llvm-5163a8f53ebb5ba424ff69de30ab1d35ba60fe70.zip
Add missing paratheses.
llvm-svn: 43227
-rw-r--r--llvm/lib/CodeGen/RegAllocLocal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp
index 6454900a3ee..456c457a316 100644
--- a/llvm/lib/CodeGen/RegAllocLocal.cpp
+++ b/llvm/lib/CodeGen/RegAllocLocal.cpp
@@ -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?");
}
OpenPOWER on IntegriCloud