From: bdemsky Date: Sat, 2 Sep 2017 05:09:33 +0000 (-0700) Subject: Fix apparent bug... X-Git-Url: http://plrg.eecs.uci.edu/git/?p=satcheck.git;a=commitdiff_plain;h=d5e97e18e0f24e27a97fdb181d42ecc491d55c78 Fix apparent bug... --- diff --git a/constgen.cc b/constgen.cc index 27c17fb..ff72bf0 100644 --- a/constgen.cc +++ b/constgen.cc @@ -983,7 +983,8 @@ bool ConstGen::orderThread(EPRecord *first, EPRecord *second) { EPRecord *join=(*joinvec)[i]; ExecPoint *jp=join->getEP(); if (jp->get_tid()==thr2 && - jp->compare(ep2)==CR_AFTER) + jp->compare(ep2)==CR_AFTER && + join->getJoinThread() == thr1) return true; } return false;