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
13
14
15
16
17
18
use crate::records::vm_exit_store_record::VmExitStoreRecord;
use luaur_common::records::small_vector::SmallVector;

#[derive(Debug, Clone)]
#[repr(C)]
pub struct VmExitStoreInfo {
    pub reg: u8,
    pub stores: SmallVector<VmExitStoreRecord, 2>,
}

impl Default for VmExitStoreInfo {
    fn default() -> Self {
        Self {
            reg: 0,
            stores: SmallVector::new(),
        }
    }
}