[llvm-commits] [llvm] r66653 - /llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
Duncan Sands
baldrick at free.fr
Wed Mar 11 02:04:52 PDT 2009
Author: baldrick
Date: Wed Mar 11 04:04:34 2009
New Revision: 66653
URL: http://llvm.org/viewvc/llvm-project?rev=66653&view=rev
Log:
Add parentheses to pacify gcc-4.3.
Modified:
llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
Modified: llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp?rev=66653&r1=66652&r2=66653&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp (original)
+++ llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp Wed Mar 11 04:04:34 2009
@@ -268,7 +268,7 @@
--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();
More information about the llvm-commits
mailing list