ghc-7.8.4: The GHC API

Safe HaskellNone
LanguageHaskell98

CmmCallConv

Synopsis

Documentation

assignArgumentsPos :: DynFlags -> ByteOff -> Convention -> (a -> CmmType) -> [a] -> (ByteOff, [(a, ParamLocation)]) Source

Given a list of arguments, and a function that tells their types, return a list showing where each argument is passed

assignStack :: DynFlags -> ByteOff -> (a -> CmmType) -> [a] -> (ByteOff, [(a, ParamLocation)]) Source