allocretregs

Allocate registers for function return values.

version(COMPILE)
extern (C++) nothrow
allocretregs
(
const tym_t ty
,,
const tym_t tyf
,,)

Parameters

ty tym_t

return type

t type*

return type extended info

tyf tym_t

function type

reg1 reg_t

set to the first part register, else NOREG

reg2 reg_t

set to the second part register, else NOREG

Return Value

Type: regm_t

a bit mask of return registers. 0 if function returns on the stack or returns void.

Meta