ghc-lib-9.8.2.20240223: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.StgToJS.Prim

Documentation

genPrim Source #

Arguments

:: Bool

Profiling (cost-centres) enabled

-> Bool

Array bounds-checking enabled

-> Type 
-> PrimOp

the primitive operation

-> [JExpr]

where to store the result

-> [JExpr]

arguments

-> PrimRes