luaur-code-gen 0.1.0

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::records::ir_block::IrBlock;
use crate::records::ir_lowering_a_64::IrLoweringA64;

impl IrLoweringA64 {
    pub fn ir_lowering_a_64_jump_or_fallthrough(&mut self, target: &mut IrBlock, next: &IrBlock) {
        if !self.ir_lowering_a_64_is_fallthrough_block(target, next) {
            unsafe {
                (*self.build).bl(&mut target.label);
            }
        }
    }
}