Searched refs:UnsafeBytecodeStream (Results 1 – 3 of 3) sorted by relevance
39 type Handler = fn(&mut MachineState, UnsafeBytecodeStream, ExecutingPcRef<'_>) -> Done;74 pc: UnsafeBytecodeStream, in debug() argument86 pc: UnsafeBytecodeStream, in dispatch() argument101 pc: UnsafeBytecodeStream, in run_extended() argument167 pc: UnsafeBytecodeStream,
194 pub struct UnsafeBytecodeStream(NonNull<u8>); struct196 impl UnsafeBytecodeStream { impl209 UnsafeBytecodeStream(pc) in new()221 UnsafeBytecodeStream(unsafe { NonNull::new_unchecked(self.0.as_ptr().offset(offset)) }) in offset()230 impl BytecodeStream for UnsafeBytecodeStream { implementation
147 pc: unsafe { UnsafeBytecodeStream::new(pc) }, in call_run()1014 pc: UnsafeBytecodeStream,1035 self.pc = unsafe { UnsafeBytecodeStream::new(new_pc) }; in pc_rel_jump()1299 pc: UnsafeBytecodeStream::new(NonNull::new(bytecode.as_mut_ptr().offset(4)).unwrap()), in simple_push_pop()1334 type BytecodeStream = UnsafeBytecodeStream;1337 fn bytecode(&mut self) -> &mut UnsafeBytecodeStream { in bytecode() argument1350 self.pc = unsafe { UnsafeBytecodeStream::new(NonNull::new_unchecked(lr)) }; in ret()1423 self.pc = UnsafeBytecodeStream::new(NonNull::new_unchecked(self.state[dst].get_ptr())); in call_indirect()1434 self.pc = UnsafeBytecodeStream::new(NonNull::new_unchecked(self.state[reg].get_ptr())); in xjump()