allocScratchReg

Allocate a scratch register.

version(COMPILE)
extern (C++) nothrow @safe @trusted
reg_t
allocScratchReg
(,
regm_t regm
)

Parameters

cdb CodeBuilder

where to write any generated code to

regm regm_t

mask of registers to pick one from

Return Value

Type: reg_t

selected register

Suggestion Box / Bug Report