ghc-9.12: 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