chiark / gitweb /
src/: Tweak handling of `va_list' pointers in generated functions.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 6 Sep 2015 14:46:56 +0000 (15:46 +0100)
commit2bbe0f1d36d39db51085bf88612055e0b5743ffb
treefe564f951b288a419874554bcfec1ae2b04b243c
parentf5d75f560ab705227f421dcffe2504dd1286accc
src/: Tweak handling of `va_list' pointers in generated functions.

In method entries, effective method bodies, and delegation trampolines,
the `va_list' argument is named `sod__ap', and a copy is made for
invoking direct methods into a temporary called `sod__tmp_ap'.  The name
`sod__master_ap' is now only used in direct method argument lists and
the `CALL_NEXT_METHOD' machinery.

This reduces the amount of mangling of argument lists which needs to be
done.  It will also make some future changes a little easier.
src/codegen-proto.lisp
src/method-impl.lisp
src/method-proto.lisp