I'm introducing a new machine model to simultaneously allow simple
[oota-llvm.git] / include / llvm / MC / MCAssembler.h
index 4ab7f91f72a5b6325ae0029688c5eef7e44d74d6..b7b2d663f4cc40425601b3215d7670079c89f32b 100644 (file)
@@ -130,7 +130,7 @@ public:
 
   void addFixup(MCFixup Fixup) {
     // Enforce invariant that fixups are in offset order.
-    assert((Fixups.empty() || Fixup.getOffset() > Fixups.back().getOffset()) &&
+    assert((Fixups.empty() || Fixup.getOffset() >= Fixups.back().getOffset()) &&
            "Fixups must be added in order!");
     Fixups.push_back(Fixup);
   }