projects
/
c11tester.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
443fd91
)
model: use get_write_value()
author
Brian Norris
<banorris@uci.edu>
Sat, 2 Mar 2013 23:05:44 +0000
(15:05 -0800)
committer
Brian Norris
<banorris@uci.edu>
Sat, 2 Mar 2013 23:05:44 +0000
(15:05 -0800)
Same implementation for now, but it could change.
model.cc
patch
|
blob
|
history
diff --git
a/model.cc
b/model.cc
index 38d08d988e198e37a5f136a1b44988892ee4c3d7..4fca7aadc48cd09b5c9a2d3490e54872796d0daf 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-874,7
+874,7
@@
bool ModelChecker::process_read(ModelAction *curr)
}
updated = r_modification_order(curr, rf);
- value = rf->get_value();
+ value = rf->get_
write_
value();
read_from(curr, rf);
mo_graph->commitChanges();
mo_check_promises(curr, true);