projects
/
c11tester.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d027385
)
Bug fix
author
root
<root@plrg-1.ics.uci.edu>
Thu, 26 Dec 2019 08:40:07 +0000
(
00:40
-0800)
committer
root
<root@plrg-1.ics.uci.edu>
Thu, 26 Dec 2019 08:40:07 +0000
(
00:40
-0800)
execution.cc
patch
|
blob
|
history
diff --git
a/execution.cc
b/execution.cc
index
504f7f5
..
54e14c3
100644
(file)
--- a/
execution.cc
+++ b/
execution.cc
@@
-1783,8
+1783,8
@@
void ModelExecution::collectActions() {
if (act->is_read()) {
if (islastact) {
act->set_read_from(NULL);
- }
- if (act->get_reads_from()->is_free()) {
+ continue;
+
} else
if (act->get_reads_from()->is_free()) {
removeAction(act);
delete act;
} else {
@@
-1798,9
+1798,7
@@
void ModelExecution::collectActions() {
act->set_last_fence_release(NULL);
}
}
- }
-
- if (islastact) {
+ } else if (islastact) {
continue;
} else if (act->is_free()) {
removeAction(act);