aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PostRASchedulerList.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-03-11 09:04:34 +0000
committerDuncan Sands <baldrick@free.fr>2009-03-11 09:04:34 +0000
commit9e8bd0b362c034e629b9ee1f32e4e1adf037f529 (patch)
tree4295ff197c35768235ff9241691ce42714fdc2b4 /lib/CodeGen/PostRASchedulerList.cpp
parent5f4ee1fc5d00ae55c30fa2ce450c69be4c6d6e63 (diff)
Add parentheses to pacify gcc-4.3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PostRASchedulerList.cpp')
-rw-r--r--lib/CodeGen/PostRASchedulerList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp
index e742e3a86e..311ad28110 100644
--- a/lib/CodeGen/PostRASchedulerList.cpp
+++ b/lib/CodeGen/PostRASchedulerList.cpp
@@ -268,7 +268,7 @@ bool PostRAScheduler::runOnMachineFunction(MachineFunction &Fn) {
--Count;
}
assert(Count == 0 && "Instruction count mismatch!");
- assert(MBB->begin() == Current || CurrentCount != 0 &&
+ assert((MBB->begin() == Current || CurrentCount != 0) &&
"Instruction count mismatch!");
Scheduler.Run(MBB, MBB->begin(), Current, CurrentCount);
Scheduler.EmitSchedule();