]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix a bogus assertion observed by Florian Krohm.
authorJulian Seward <jseward@acm.org>
Tue, 3 May 2011 11:08:39 +0000 (11:08 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 3 May 2011 11:08:39 +0000 (11:08 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2142

VEX/priv/guest_arm_toIR.c

index d9433881d14c50836d73abe1f5ffcb96c6235bee..1a3c70944d9a7c353e2e063014d9ddb3a3c08215 100644 (file)
@@ -14027,7 +14027,7 @@ DisResult disInstr_ARM_WRK (
          assert here. */
       vassert(dres.whatNext == Dis_Continue);
       vassert(irsb->next == NULL);
-      vassert(irsb->jumpkind = Ijk_Boring);
+      vassert(irsb->jumpkind == Ijk_Boring);
       /* If r15 is unconditionally written, terminate the block by
          jumping to it.  If it's conditionally written, still
          terminate the block (a shame, but we can't do side exits to
@@ -17864,7 +17864,7 @@ DisResult disInstr_THUMB_WRK (
          assert here. */
       vassert(dres.whatNext == Dis_Continue);
       vassert(irsb->next == NULL);
-      vassert(irsb->jumpkind = Ijk_Boring);
+      vassert(irsb->jumpkind == Ijk_Boring);
       /* If r15 is unconditionally written, terminate the block by
          jumping to it.  If it's conditionally written, still
          terminate the block (a shame, but we can't do side exits to