pub enum TraceLookup {
NotHot,
StartRecording,
Ran {
resume_ip: usize,
},
GuardMismatch,
Skip,
}Expand description
Outcome of consulting the trace cache at a backward-branch site.
Variants§
NotHot
Header not yet hot — interpreter continues. Counter was bumped.
StartRecording
Header crossed TRACE_THRESHOLD and no compiled trace exists yet.
The interpreter should arm the recorder for the next iteration.
Ran
A compiled trace ran. The interpreter should resume at this IP.
GuardMismatch
A compiled trace exists but the slot type guard failed. Interpreter handles this iteration normally.
Skip
Trace was previously aborted or blacklisted; never retry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TraceLookup
impl RefUnwindSafe for TraceLookup
impl Send for TraceLookup
impl Sync for TraceLookup
impl Unpin for TraceLookup
impl UnsafeUnpin for TraceLookup
impl UnwindSafe for TraceLookup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more