diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2022-04-29 18:31:51 +0200 |
---|---|---|
committer | Andreas Klebinger <klebinger.andreas@gmx.at> | 2022-07-13 10:04:43 +0200 |
commit | 82c0cc6c3378d84990e3997b32fa4c663aa40fc2 (patch) | |
tree | ca1c7cbe9c7370d4d4d1ba80329345a58371018d | |
parent | 8c7dcdabb6c6a13d58f4ea50b74ac426f1440f12 (diff) | |
download | haskell-82c0cc6c3378d84990e3997b32fa4c663aa40fc2.tar.gz |
Improve BUILD_PAP comments
-rw-r--r-- | rts/AutoApply.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/AutoApply.h b/rts/AutoApply.h index a41405122e..d4deb18186 100644 --- a/rts/AutoApply.h +++ b/rts/AutoApply.h @@ -12,6 +12,9 @@ // ret addr and m arguments taking up n words are on the stack. // NB. x is a dummy argument attached to the 'for' label so that // BUILD_PAP can be used multiple times in the same function. +// m: number of arguments provided +// n: words on the stack for arguments (could be > m e.g. double args on x32) +// f: function #define BUILD_PAP(m,n,f,x) \ W_ pap; \ W_ size; \ |