summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2022-04-29 18:31:51 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-08-06 06:13:17 -0400
commite9c77a22d749b7f3ab84a715db68e984c8350684 (patch)
tree24e6809b53504be050f1a8662bce59f2687e87ce
parent50c8e1c5684eda39ba1c7f78fcd0eff57f1b5dbd (diff)
downloadhaskell-e9c77a22d749b7f3ab84a715db68e984c8350684.tar.gz
Improve BUILD_PAP comments
-rw-r--r--rts/AutoApply.h3
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; \