ghc-7.6.2: The GHC API

Safe HaskellNone

StgCmmLayout

Synopsis

Documentation

emitCall :: (Convention, Convention) -> CmmExpr -> [CmmExpr] -> FCode ()Source

emitCall conv fun args makes a call to the entry-code of fun, using the call/return convention conv, passing args, and returning the results to the current sequel.

emitReturn :: [CmmExpr] -> FCode ()Source

Return multiple values to the sequel

If the sequel is Return

     return (x,y)

If the sequel is AssignTo [p,q]

    p=x; q=y;