Assign first expr only (if it exists), performing coercions between some PrimReps (e.g. StablePtr# and Addr#).
Moduleghc-9.10.3GHC2021
GHC.StgToJS.Utils
- 1 type
- 32 values
- Packageghc-9.10.3
- Exports33
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceUtils.hs
Associate the given JExpr to the Id's PrimReps, taking into account the number of slots per PrimRep
Unboxable datacon
3 declarationscan we unbox C x to x, only if x is represented as a Number
one-constructor types with one primitive field represented as a JS Number can be unboxed
JSRep
13 declarationsReturn SlotCount as an Int
Number of slots occupied by a value with the given JSRep
References and Ids
4 declarationsLive variables
9 declarationsreturns True if the expression is definitely inline