1
Fork 0

remove a now-useless machine hook

This commit is contained in:
Ralf Jung 2022-08-07 12:33:44 -04:00
parent 4173e971b8
commit aff9841507
4 changed files with 5 additions and 33 deletions

View file

@ -187,9 +187,6 @@ pub enum LocalValue<Prov: Provenance = AllocId> {
impl<'tcx, Prov: Provenance + 'static> LocalState<'tcx, Prov> {
/// Read the local's value or error if the local is not yet live or not live anymore.
///
/// Note: This may only be invoked from the `Machine::access_local` hook and not from
/// anywhere else. You may be invalidating machine invariants if you do!
#[inline]
pub fn access(&self) -> InterpResult<'tcx, &Operand<Prov>> {
match &self.value {