ghc-9.6.5: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.StgToJS.StgUtils

Contents

Synopsis

Documentation

bindingRefs :: UniqFM Id CgStgExpr -> CgStgBinding -> Set Id Source #

collect Ids that this binding refers to (does not include the bindees themselves) first argument is Id -> StgExpr map for unfloated arguments

isInlineExpr :: UniqSet Id -> CgStgExpr -> (UniqSet Id, Bool) Source #

returns True if the expression is definitely inline

Live vars