projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
action: update 'reads_from' field before synchronization
[model-checker.git]
/
action.cc
diff --git
a/action.cc
b/action.cc
index 5c036ef1cf92e8376ffa7958b0c2b3660f3f3d27..b9e9c02c533a0eb9850c9a77a142cd9b549ce3db 100644
(file)
--- a/
action.cc
+++ b/
action.cc
@@
-165,10
+165,10
@@
void ModelAction::create_cv(const ModelAction *parent)
void ModelAction::read_from(const ModelAction *act)
{
ASSERT(cv);
+ reads_from = act;
if (act!=NULL && act->is_release() && this->is_acquire()) {
synchronize_with(act);
}
- reads_from = act;
}
/**