src/method-proto.lisp: Maybe ignore the layout pointer in trampolines.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 9 Aug 2019 19:39:07 +0000 (20:39 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 10 Aug 2019 14:46:01 +0000 (15:46 +0100)
commit30eb3c686a1bb2cea791798324c2eea08ffc341d
treea4245930b6dd6d1c35decdd8daa87b744b6fbfa1
parenta469422e9be4244c098a309e78aa3b761cf0a5ec
src/method-proto.lisp: Maybe ignore the layout pointer in trampolines.

If the last trampoline is meant to invoke the delegation kernel, and the
kernel is for an aggregating message with no methods, then it probably
won't care about the layout pointer when it synthesizes its behaviour.
This results in an annoying compiler warning, which we can placate.

I originally considered doing this in `invoke-delegation-chain',
precisely in the case where the kernel is being included, but it's not
like we're being especially precise about other uses of `SOD__IGNORE',
so I've done the simpler thing instead.
src/method-proto.lisp
test/test.sod