Break down a D type into basic (register) types for the 32-bit x86 ABI.


Walter Bright

Source: argtypes_x86.d

  • Declaration

    TypeTuple toArgTypes_x86(Type t);

    This breaks a type down into 'simpler' types that can be passed to a function in registers, and returned in registers. This is the implementation for the 32-bit x86 ABI.


    Type t

    type to break down

    Return Value

    tuple of types, each element can be passed in a register. A tuple of zero length means the type cannot be passed/returned in registers. null indicates a void.