pub struct BytecodeGraphSerializer<'a> { /* private fields */ }Implementations§
Source§impl BytecodeGraphSerializer<'_>
impl BytecodeGraphSerializer<'_>
pub fn bytecode_graph_serializer_bytecode_graph_serializer( bcb: &mut BytecodeBuilder, func: &mut BcFunction, ) -> Self
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn emit_bytecode(&mut self) -> Vec<u32>
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn emit_instruction(&mut self, insn_op: BcOp)
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_fallthrough(&self, block: &BcBlock) -> Option<BcOp>
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_imm_bool(&mut self, insn: &mut BcInst, index: u8) -> bool
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_imm_import(&mut self, insn: &mut BcInst, index: u8) -> u32
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_imm_int(&mut self, insn: &mut BcInst, index: u8) -> i32
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_proto_input(&mut self, insn: &mut BcInst, index: u8) -> u16
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_reg_input(&mut self, insn: &mut BcInst, index: u8) -> u8
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_register(&mut self, op: BcOp) -> Reg
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_upval_input(&mut self, insn: &mut BcInst, index: u8) -> u8
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_vm_const_input_abc(&mut self, insn: &mut BcInst, index: u8) -> u8
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_vm_const_input_aux(&mut self, insn: &mut BcInst, index: u8) -> u32
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_vm_const_input_d(&mut self, insn: &mut BcInst, index: u8) -> u16
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn get_vm_const_input_raw(&mut self, insn: &mut BcInst, index: u8) -> u32
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn patch_jump(&mut self, jump: &JumpInfo)
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn record_jump(&mut self, insn: &mut BcInst, index: u8)
Source§impl<'a> BytecodeGraphSerializer<'a>
impl<'a> BytecodeGraphSerializer<'a>
pub fn reschedule(&mut self) -> Vec<BcOp>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BytecodeGraphSerializer<'a>
impl<'a> !Send for BytecodeGraphSerializer<'a>
impl<'a> !Sync for BytecodeGraphSerializer<'a>
impl<'a> !UnwindSafe for BytecodeGraphSerializer<'a>
impl<'a> Freeze for BytecodeGraphSerializer<'a>
impl<'a> Unpin for BytecodeGraphSerializer<'a>
impl<'a> UnsafeUnpin for BytecodeGraphSerializer<'a>
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