projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a75079
)
nodestack: create ModelAction clock vectors
author
Brian Norris
<banorris@uci.edu>
Sat, 26 May 2012 02:16:06 +0000
(19:16 -0700)
committer
Brian Norris
<banorris@uci.edu>
Sat, 26 May 2012 03:39:00 +0000
(20:39 -0700)
Only create the clock vector if the ModelAction will be retained in our
nodestack, and hence will be used for synchronization, etc.
nodestack.cc
patch
|
blob
|
history
diff --git
a/nodestack.cc
b/nodestack.cc
index 379fb3b1fc15f219cdd870b4976af0e394fd2263..4cbd7cea820fa6ce7e4764a8fd758d87621d3ec2 100644
(file)
--- a/
nodestack.cc
+++ b/
nodestack.cc
@@
-139,6
+139,7
@@
ModelAction * NodeStack::explore_action(ModelAction *act)
/* Record action */
get_head()->explore_child(act);
+ act->create_cv(get_head()->get_action());
node_list.push_back(new Node(act, get_head()));
iter++;
}