Function read_write_set::analyze
source · pub fn analyze<'a>(
modules: impl IntoIterator<Item = &'a CompiledModule>
) -> Result<ReadWriteSetAnalysis>
Expand description
Infer read/write set results for modules
.
The modules
list must be topologically sorted by the dependency relation
(i.e., a child node in the dependency graph should appear earlier in the
vector than its parents), and all dependencies of each module must be
included.