From ae11d3144043f9af90e478607835fb76fca5c465 Mon Sep 17 00:00:00 2001
From: Igor Munkin <imun@tarantool.org>
Date: Tue, 4 Jul 2023 13:36:29 +0000
Subject: [PATCH] luajit: bump new version

* test: fix flaky <unit-jit-parse.test.lua>
* Fix use-def analysis for vararg functions.
* Fix use-def analysis for BC_VARG.
* Fix TNEW load forwarding with instable types.
* Fix memory probing allocator to check for valid end address, too.
* Another fix for lua_yield() from C hook.
* Fix lua_yield() from C hook.
* Fix saved bytecode encapsulated in ELF objects.
* x64: Fix 64 bit shift code generation.
* Fix canonicalization of +-0.0 keys for IR_NEWREF.
* test: add utility for parsing `jit.dump`
* test: split utils.lua into several modules
* test: rewrite lj-49-bad-lightuserdata test in C
* test: rewrite misclib-sysprof-capi test in C
* test: rewrite misclib-getmetrics-capi test in C
* test: introduce utils.h helper for C tests
* test: introduce module for C tests
* test: fix setting of {DY}LD_LIBRARY_PATH variables
* build: fix build with LUAJIT_USE_GDBJIT enabled
* ci: update the branch name for Tarantool 2.11

Closes #8718
Part of #7900
Part of #8516

NO_DOC=LuaJIT submodule bump
NO_TEST=LuaJIT submodule bump
---
 changelogs/unreleased/gh-8516-luajit-fixes.md | 7 +++++++
 third_party/luajit                            | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/changelogs/unreleased/gh-8516-luajit-fixes.md b/changelogs/unreleased/gh-8516-luajit-fixes.md
index 8b3c9cfaa8..c686fd6a2d 100644
--- a/changelogs/unreleased/gh-8516-luajit-fixes.md
+++ b/changelogs/unreleased/gh-8516-luajit-fixes.md
@@ -4,3 +4,10 @@ Backported patches from the vanilla LuaJIT trunk (gh-8516). The following issues
 were fixed as part of this activity:
 
 * Fixed `IR_LREF` assembling for the GC64 mode on x86_64.
+* Fixed canonicalization of +-0.0 keys for `IR_NEWREF`.
+* Fixed result truncation for `bit.rol` on x86_64 platforms.
+* Fixed saved bytecode encapsulated in ELF objects.
+* Fixed `lua_yield()` invocation inside C hooks.
+* Fixed memory chunk allocation beyond the memory limit.
+* Fixed TNEW load forwarding with instable types.
+* Fixed use-def analysis for `BC_VARG`, `BC_FUNCV`.
diff --git a/third_party/luajit b/third_party/luajit
index 74a33b3fac..27fbe381ce 160000
--- a/third_party/luajit
+++ b/third_party/luajit
@@ -1 +1 @@
-Subproject commit 74a33b3fac916e6404f2ff494f0e05481cf6b833
+Subproject commit 27fbe381ce2ffa02f04fbbd8b8f644c31f462f25
-- 
GitLab