From: Brian Norris Date: Thu, 6 Jun 2013 00:14:32 +0000 (-0700) Subject: execution: document additional mo_may_allow() optimization X-Git-Tag: oopsla2013-final~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?p=model-checker.git;a=commitdiff_plain;h=1f817417cb820f356fb2afa7ac9e18d7ef054198 execution: document additional mo_may_allow() optimization mo_may_allow() actually performs two optimizations, not just the one that is documented in its header. --- diff --git a/execution.cc b/execution.cc index 07866fe..e04b672 100644 --- a/execution.cc +++ b/execution.cc @@ -1820,6 +1820,7 @@ bool ModelExecution::thin_air_constraint_may_allow(const ModelAction *writer, co * require compiler support): * * If X --hb-> Y --mo-> Z, then X should not read from Z. + * If X --hb-> Y, A --rf-> Y, and A --mo-> Z, then X should not read from Z. */ bool ModelExecution::mo_may_allow(const ModelAction *writer, const ModelAction *reader) {