summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmParse.y
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2015-10-02 23:49:35 +0200
committerBen Gamari <ben@smart-cactus.org>2015-10-17 16:52:16 +0200
commit6638bfd36b4189935e8e26fe0479ffa45aa58243 (patch)
tree70f01fc442a8882e4e858b26839f1bbbd8988337 /compiler/cmm/CmmParse.y
parente8ed2136feea75f4676eb6103acd5bb1bfe35281 (diff)
downloadhaskell-6638bfd36b4189935e8e26fe0479ffa45aa58243.tar.gz
CmmParse: Clarify description of calling convention
Diffstat (limited to 'compiler/cmm/CmmParse.y')
-rw-r--r--compiler/cmm/CmmParse.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/cmm/CmmParse.y b/compiler/cmm/CmmParse.y
index 000f805b5d..555aed25df 100644
--- a/compiler/cmm/CmmParse.y
+++ b/compiler/cmm/CmmParse.y
@@ -190,7 +190,10 @@ jump f (info_ptr, field1,..,fieldN) (arg1,..,argN)
where info_ptr and field1..fieldN describe the stack frame, and
arg1..argN are the arguments passed to f using the NativeNodeCall
-convention.
+convention. Note if a field is longer than a word (e.g. a D_ on
+a 32-bit machine) then the call will push as many words as
+necessary to the stack to accomodate it (e.g. 2).
+
----------------------------------------------------------------------------- -}