projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nodestack: add get_read_from_size()
[model-checker.git]
/
nodestack.cc
diff --git
a/nodestack.cc
b/nodestack.cc
index 2ebfc718a3c89403fb19fff42390d11d284ad789..71af6ef246314b0a40d373c7388418c5f4a01c82 100644
(file)
--- a/
nodestack.cc
+++ b/
nodestack.cc
@@
-221,6
+221,10
@@
uint64_t Node::get_future_value() {
return future_values[future_index];
}
+int Node::get_read_from_size() {
+ return may_read_from.size();
+}
+
/**
* Gets the next 'may_read_from' action from this Node. Only valid for a node
* where this->action is a 'read'.