pub struct IrBuilder {
pub host_hooks: *const HostIrHooks,
pub in_terminated_block: bool,
pub interrupt_requested: bool,
pub active_fastcall_fallback: bool,
pub fastcall_fallback_return: IrOp,
pub cmd_skip_target: i32,
pub function: IrFunction,
pub active_block_idx: u32,
pub inst_index_to_block: Vec<u32>,
pub numeric_loop_stack: Vec<LoopInfo>,
pub constant_map: DenseHashMap<ConstantKey, u32>,
}Fields§
§host_hooks: *const HostIrHooks§in_terminated_block: bool§interrupt_requested: bool§active_fastcall_fallback: bool§fastcall_fallback_return: IrOp§cmd_skip_target: i32§function: IrFunction§active_block_idx: u32§inst_index_to_block: Vec<u32>Block index at the bytecode instruction
numeric_loop_stack: Vec<LoopInfo>§constant_map: DenseHashMap<ConstantKey, u32>Implementations§
Source§impl IrBuilder
impl IrBuilder
pub fn handle_fastcall_fallback( &mut self, fallback_or_undef: IrOp, pc: *const Instruction, i: i32, )
Source§impl IrBuilder
impl IrBuilder
pub fn inst_ir_cmd_initializer_list_ir_op( &mut self, cmd: IrCmd, ops: &[IrOp], ) -> IrOp
Source§impl IrBuilder
impl IrBuilder
pub fn ir_builder_ir_builder(host_hooks: &HostIrHooks) -> Self
Source§impl IrBuilder
impl IrBuilder
pub fn translate_inst(&mut self, op: LuauOpcode, pc: *const Instruction, i: i32)
Trait Implementations§
Auto Trait Implementations§
impl !Send for IrBuilder
impl !Sync for IrBuilder
impl Freeze for IrBuilder
impl RefUnwindSafe for IrBuilder
impl Unpin for IrBuilder
impl UnsafeUnpin for IrBuilder
impl UnwindSafe for IrBuilder
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