setClosureVarOffset

Go through the variables in function fd that are to be allocated in a closure, and set the .offset fields for those variables to their positions relative to the start of the closure instance. Also turns off nrvo for closure variables.

extern (C++)
void
setClosureVarOffset

Parameters

fd FuncDeclaration

function

Meta