ghc-7.0.2: The GHC API

CmmCallConv

Synopsis

Documentation

assignArgumentsPos :: Outputable a => Convention -> (a -> CmmType) -> [a] -> ArgumentFormat a ByteOffSource

JD: For the new stack story, I want arguments passed on the stack to manifest as positive offsets in a CallArea, not negative offsets from the stack pointer. Also, I want byte offsets, not word offsets.

argumentsSize :: (a -> CmmType) -> [a] -> WordOffSource