[llvm-commits] [llvm] r98428 - /llvm/trunk/include/llvm/MC/MCAssembler.h
Benjamin Kramer
benny.kra at googlemail.com
Fri Mar 12 23:40:34 PST 2010
Author: d0k
Date: Sat Mar 13 01:40:34 2010
New Revision: 98428
URL: http://llvm.org/viewvc/llvm-project?rev=98428&view=rev
Log:
Add some parens and silence a warning.
Modified:
llvm/trunk/include/llvm/MC/MCAssembler.h
Modified: llvm/trunk/include/llvm/MC/MCAssembler.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCAssembler.h?rev=98428&r1=98427&r2=98428&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCAssembler.h (original)
+++ llvm/trunk/include/llvm/MC/MCAssembler.h Sat Mar 13 01:40:34 2010
@@ -166,7 +166,7 @@
void addFixup(MCAsmFixup Fixup) {
// Enforce invariant that fixups are in offset order.
- assert(Fixups.empty() || Fixup.Offset > Fixups.back().Offset &&
+ assert((Fixups.empty() || Fixup.Offset > Fixups.back().Offset) &&
"Fixups must be added in order!");
Fixups.push_back(Fixup);
}
More information about the llvm-commits
mailing list