aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAllocLocal.cpp
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
commit76500d52be67e5dbdf9b7fb2843d286f26f37e3b (patch)
tree37fe86f3ced6cd05c6d20a99975310d7c47df8b2 /lib/CodeGen/RegAllocLocal.cpp
parent706a5e61245b0c0421a465dc5b113ede7c6db3e5 (diff)
downloadexternal_llvm-76500d52be67e5dbdf9b7fb2843d286f26f37e3b.zip
external_llvm-76500d52be67e5dbdf9b7fb2843d286f26f37e3b.tar.gz
external_llvm-76500d52be67e5dbdf9b7fb2843d286f26f37e3b.tar.bz2
Add missing paratheses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r--lib/CodeGen/RegAllocLocal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp
index 6454900..456c457 100644
--- a/lib/CodeGen/RegAllocLocal.cpp
+++ b/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?");
}