From: sergos@tarantool.org To: tarantool-patches@freelists.org Subject: [tarantool-patches] [PATCH] luajit: fold machinery misbehaves Date: Thu, 25 Jul 2019 12:05:25 +0000 [thread overview] Message-ID: <20190725120525.897-1-sergos@tarantool.org> (raw) This is a temporary solution for https://github.com/LuaJIT/LuaJIT/issues/505 Follow-up: #4376 --- src/lj_opt_fold.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lj_opt_fold.c b/src/lj_opt_fold.c index acbf36a..e326aff 100644 --- a/src/lj_opt_fold.c +++ b/src/lj_opt_fold.c @@ -505,6 +505,11 @@ LJFOLDF(kfold_strref_snew) { PHIBARRIER(fleft); if (irref_isk(fins->op2) && fright->i == 0) { + /* + ** Temporary stub for LuaJIT bug #505 https://github.com/LuaJIT/LuaJIT/issues/505 + ** Follow-up tracker is #4376 + */ + return NEXTFOLD; return fleft->op1; /* strref(snew(ptr, len), 0) ==> ptr */ } else { /* Reassociate: strref(snew(strref(str, a), len), b) ==> strref(str, a+b) */ -- 2.17.1
next reply other threads:[~2019-07-25 12:05 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-07-25 12:05 sergos [this message] 2019-07-30 19:59 sergos
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=20190725120525.897-1-sergos@tarantool.org \ --to=sergos@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH] luajit: fold machinery misbehaves' \ /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