Distinguish annotation validation from content read dependencies
This commit is contained in:
@@ -44,6 +44,15 @@ impl ObjectStore {
|
||||
self.heap.end_read_tracking(token)
|
||||
}
|
||||
|
||||
/// Like end_read_tracking, retaining the distinction between program reads
|
||||
/// and VM annotation validation. Ordinary reads always dominate.
|
||||
pub fn end_read_tracking_details(
|
||||
&self,
|
||||
token: usize,
|
||||
) -> Result<Vec<crate::ReadAccess>, VmError> {
|
||||
self.heap.end_read_tracking_details(token)
|
||||
}
|
||||
|
||||
pub fn is_read_only(&self) -> bool {
|
||||
self.heap.is_read_only()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user