projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
action: (assertion) disallow out-of-order synchronization
[model-checker.git]
/
action.cc
diff --git
a/action.cc
b/action.cc
index b9e9c02c533a0eb9850c9a77a142cd9b549ce3db..5124780cec727982621a8c7e698f753bf7371e31 100644
(file)
--- a/
action.cc
+++ b/
action.cc
@@
-177,6
+177,7
@@
void ModelAction::read_from(const ModelAction *act)
* @param act The ModelAction to synchronize with
*/
void ModelAction::synchronize_with(const ModelAction *act) {
+ ASSERT(*act < *this);
model->check_promises(cv, act->cv);
cv->merge(act->cv);
}