Context into which an expression is evaluated
Instances1Outputable
Outputable ExprCtxDefined in ghc-10.0.0.20260917 · GHC.StgToJS.ExprCtx
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11
Moduleghc-10.0.0.20260917GHC2024
Context into which an expression is evaluated
Outputable ExprCtxDefined in ghc-10.0.0.20260917 · GHC.StgToJS.ExprCtxInitialize 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
Remove 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