Local function declaration and join point being pulled.
- isFun : Bool
- decl : FunDecl Purity.pure
- used : FVarIdHashSet
Instances For
The PullM state contains the local function declarations and join points being pulled.
Instances For
Similar to findFVarDeps. Extract from the state any local function declarations that depends on the given
parameters.
Instances For
Construct the code fun p.decl k or jp p.decl k.
Instances For
Attach the given array of local function declarations and join points to k.
Instances For
Extract from the state any local function declarations that depends on the given
free variable, and attach to code k.
Instances For
Similar to attachFVarDeps. Extract from the state any local function declarations that depends on the given
parameters, and attach to code k.
Instances For
Instances For
Add local function declaration (or join point if isFun = false) to the state.
Pull local function declarations and join points in code.
The state contains the declarations being pulled.
Pull local function declarations and join points in the given declaration.