Context into which an expression is evaluated
Moduleghc-9.10.3GHC2021
GHC.StgToJS.ExprCtx
- 1 type
- 15 values
- Packageghc-9.10.3
- Exports16
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceExprCtx.hs
Initialize an expression context in the context of the given top-level binding Id
Predicate: do we know for sure that the given Id is evaluated?
Set source location
Source location
Set top-level binding Id
Target variables for the evaluated expression
Set target
Let-no-escape
8 declarationsRemove information about the current LNE frame
Update let-no-escape frame
Contents of current LNE frame
Variables and their index on the stack
Cache the length of ctxLneFrameVars
Does the given Id correspond to a LNE binding
Does the given Id correspond to a LNE live var on the stack
Return the LNE stack size associated to the given Id. Return Nothing when the Id doesn't correspond to a LNE binding.
Shrink the LNE stack to the given size