struct X86RegparmOptions [src]

Options for x86 calling conventions which support the regparm attribute to pass some arguments in registers.

Fields

incoming_stack_alignment: ?u64 = nullThe boundary the stack is aligned to when the function is called. null means the default for this calling convention.
register_params: u2 = 0The number of arguments to pass in registers before passing the remaining arguments according to the calling convention. Equivalent to __attribute__((regparm(x))) in Clang and GCC.

Source

pub const X86RegparmOptions = struct { /// The boundary the stack is aligned to when the function is called. /// `null` means the default for this calling convention. incoming_stack_alignment: ?u64 = null, /// The number of arguments to pass in registers before passing the remaining arguments /// according to the calling convention. /// Equivalent to `__attribute__((regparm(x)))` in Clang and GCC. register_params: u2 = 0, }