luaur-code-gen 0.1.3

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Source: `CodeGen/src/AssemblyBuilderX64.cpp:39` (hand-ported)
// #define REX_W_BIT(value) (value ? 0x8 : 0x0)
#[allow(non_snake_case)]
#[macro_export]
macro_rules! REX_W_BIT {
    ($value:expr) => {
        if $value {
            0x8u8
        } else {
            0x0u8
        }
    };
}
pub use REX_W_BIT;