luaur-code-gen 0.1.2

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
use crate::records::function_bytecode_summary::FunctionBytecodeSummary;

impl FunctionBytecodeSummary {
    pub fn get_counts(&self, nesting: u32) -> &Vec<u32> {
        debug_assert!(nesting <= self.get_nesting_limit());
        &self.counts[nesting as usize]
    }
}