mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Add a doc comment for the new hook
Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
ec21d584ee
commit
8ecdefb3db
@ -472,6 +472,9 @@ pub trait Machine<'mir, 'tcx: 'mir>: Sized {
|
||||
Ok(StackPopJump::Normal)
|
||||
}
|
||||
|
||||
/// Called immediately after actual memory was allocated for a local
|
||||
/// but before the local's stack frame is updated to point to that memory.
|
||||
#[inline(always)]
|
||||
fn after_local_allocated(
|
||||
_ecx: &mut InterpCx<'mir, 'tcx, Self>,
|
||||
_frame: usize,
|
||||
|
Loading…
Reference in New Issue
Block a user