projects
/
satcheck.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix apparent bug...
[satcheck.git]
/
schedulebuilder.cc
diff --git
a/schedulebuilder.cc
b/schedulebuilder.cc
index 6cf4b5aae9598963b8e6a86b2fa6cf68c7319b78..68a4b77f115e5b6ff87571eeee1f5121eea786b6 100644
(file)
--- a/
schedulebuilder.cc
+++ b/
schedulebuilder.cc
@@
-70,7
+70,6
@@
void ScheduleBuilder::buildSchedule(bool * satsolution) {
EPRecord *next=processRecord(record, satsolution);
#ifdef TSO
if (next != NULL) {
EPRecord *next=processRecord(record, satsolution);
#ifdef TSO
if (next != NULL) {
-
if (next->getType()==STORE) {
stores[index]->push_back(next);
next=getNextRecord(next);
if (next->getType()==STORE) {
stores[index]->push_back(next);
next=getNextRecord(next);
@@
-85,6
+84,9
@@
void ScheduleBuilder::buildSchedule(bool * satsolution) {
}
#endif
if (next!=record) {
}
#endif
if (next!=record) {
+#ifdef DUMP_SAT_SCHEDULE
+ neatPrint(record, cg, satsolution);
+#endif
threads[index]=next;
index=index-1;
}
threads[index]=next;
index=index-1;
}
@@
-112,6
+114,10
@@
void ScheduleBuilder::buildSchedule(bool * satsolution) {
if (earliest == NULL)
break;
if (earliest == NULL)
break;
+#ifdef DUMP_SAT_SCHEDULE
+ neatPrint(earliest, cg, satsolution);
+#endif
+
for(uint index=0;index<threads.size();index++) {
EPRecord *record=threads[index];
if (record==earliest) {
for(uint index=0;index<threads.size();index++) {
EPRecord *record=threads[index];
if (record==earliest) {