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