diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h index c371f1dd008..1d8051fdb06 100644 --- a/include/llvm/MC/MCAssembler.h +++ b/include/llvm/MC/MCAssembler.h @@ -166,7 +166,7 @@ public: 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); }