From: Igor Munkin via Tarantool-patches <tarantool-patches@dev.tarantool.org> To: Sergey Bronnikov <estetus@gmail.com> Cc: tarantool-patches@dev.tarantool.org Subject: Re: [Tarantool-patches] [PATCH luajit v1] Fix BC_UCLO insertion for returns. Date: Thu, 20 Jul 2023 18:37:08 +0000 [thread overview] Message-ID: <ZLl+1K8lsWUJZXzj@tarantool.org> (raw) In-Reply-To: <f9469d7bf18b5f504b7f6d0b7f08120e8c28f437.1685465129.git.sergeyb@tarantool.org> Sergey, Thanks for the patch! FYI, I changed Co-authored-by tag to Helped-by, since the only author of the patch is Mike Pall. I've checked the patchset into all long-term branches in tarantool/luajit and bumped a new version in master, release/2.11 and release/2.10. On 30.05.23, Sergey Bronnikov via Tarantool-patches wrote: > From: Sergey Bronnikov <sergeyb@tarantool.org> > > Contributed by XmiliaH. > > (cherry-picked from commit 93a65d3cc263aef2d2feb3d7ff2206aca3bee17e) > > After emitting bytecode instruction BC_FNEW fixup is not required, > because FuncState will set a flag PROTO_CHILD that will trigger emitting > a pair of instructions BC_UCLO and BC_RET (see <src/lj_parse.c:2355>) > and BC_RET will close all upvalues from base equal to 0. > > Sergey Bronnikov: > * added the description and the test for the problem > > Signed-off-by: Sergey Bronnikov <sergeyb@tarantool.org> > Co-authored-by: Sergey Kaplun <skaplun@tarantool.org> > --- > Branch: https://github.com/tarantool/luajit/tree/ligurio/gh-819-fix-missing-uclo > PR: https://github.com/tarantool/tarantool/pull/8689 > > src/lj_parse.c | 2 +- > .../lj-819-fix-missing-uclo.test.lua | 27 +++++++++++++++++++ > 2 files changed, 28 insertions(+), 1 deletion(-) > create mode 100644 test/tarantool-tests/lj-819-fix-missing-uclo.test.lua > <snipped> > -- > 2.34.1 > -- Best regards, IM
prev parent reply other threads:[~2023-07-20 18:48 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-05-30 16:56 Sergey Bronnikov via Tarantool-patches 2023-06-06 12:51 ` Sergey Kaplun via Tarantool-patches 2023-06-07 11:35 ` Maxim Kokryashkin via Tarantool-patches 2023-07-06 9:43 ` Sergey Bronnikov via Tarantool-patches 2023-07-06 11:31 ` Maxim Kokryashkin via Tarantool-patches 2023-07-06 13:45 ` Sergey Bronnikov via Tarantool-patches 2023-07-06 21:12 ` Maxim Kokryashkin via Tarantool-patches 2023-07-06 9:40 ` Sergey Bronnikov via Tarantool-patches 2023-07-09 13:15 ` Sergey Kaplun via Tarantool-patches 2023-07-10 14:53 ` Sergey Bronnikov via Tarantool-patches 2023-07-13 7:57 ` Sergey Kaplun via Tarantool-patches 2023-07-13 9:55 ` Sergey Bronnikov via Tarantool-patches 2023-07-13 10:25 ` Sergey Kaplun via Tarantool-patches 2023-07-20 18:37 ` Igor Munkin via Tarantool-patches [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=ZLl+1K8lsWUJZXzj@tarantool.org \ --to=tarantool-patches@dev.tarantool.org \ --cc=estetus@gmail.com \ --cc=imun@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH luajit v1] Fix BC_UCLO insertion for returns.' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox