projects
/
satcheck.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix yield bug
[satcheck.git]
/
schedulebuilder.cc
diff --git
a/schedulebuilder.cc
b/schedulebuilder.cc
index 3bc6e96b2a729d6e1f0dac59922bf386901fa5d7..6cf4b5aae9598963b8e6a86b2fa6cf68c7319b78 100644
(file)
--- a/
schedulebuilder.cc
+++ b/
schedulebuilder.cc
@@
-13,6
+13,7
@@
#include "constgen.h"
#include "branchrecord.h"
#include "storeloadset.h"
#include "constgen.h"
#include "branchrecord.h"
#include "storeloadset.h"
+#include "model.h"
ScheduleBuilder::ScheduleBuilder(MCExecution *_execution, ConstGen *cgen) :
cg(cgen),
ScheduleBuilder::ScheduleBuilder(MCExecution *_execution, ConstGen *cgen) :
cg(cgen),
@@
-215,6
+216,8
@@
EPRecord * ScheduleBuilder::processRecord(EPRecord *record, bool *satsolution) {
case LABEL:
break;
case YIELD:
case LABEL:
break;
case YIELD:
+ if (model->params.noexecyields)
+ return NULL;
break;
default:
ASSERT(0);
break;
default:
ASSERT(0);