remove a now-useless machine hook
This commit is contained in:
parent
4173e971b8
commit
aff9841507
4 changed files with 5 additions and 33 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue