ghc-9.12.0.20241114: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.StgToJS.Prim

Documentation

genPrim Source #

Arguments

:: Bool

Profiling (cost-centres) enabled

-> Bool

Array bounds-checking enabled

-> Type 
-> PrimOp

the primitive operation

-> [JStgExpr]

where to store the result

-> [JStgExpr]

arguments

-> JSM PrimRes