projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
snapshot: read from /proc/self/maps
[model-checker.git]
/
model.cc
diff --git
a/model.cc
b/model.cc
index 1ec72738ba3d0622bb27c8dedb3eab4c875aa90c..1e730d794baca5dc99387053bb98125b3756193a 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-1839,7
+1839,7
@@
void ModelChecker::compute_promises(ModelAction *curr)
!act->same_thread(curr) &&
act->get_location() == curr->get_location() &&
promise->get_value() == curr->get_value()) {
- curr->get_node()->set_promise(i);
+ curr->get_node()->set_promise(i
, act->is_rmw()
);
}
}
}