[Tarantool-patches] [PATCH luajit v2 0/5] Fix error-throwing on an incorrect coroutine

Maxim Kokryashkin max.kokryashkin at gmail.com
Fri Sep 29 09:20:09 MSK 2023


Changes in v2:
- Fixed comments as per offline talk with Igor:
    * Reverted one more patch for ARM
    ('arm64: fix cur_L restoration on error throw').
    * Added test from the original issue LuaJIT/LuaJIT#1066

Branch: https://github.com/tarantool/luajit/tree/fckxorg/gh-6323-fix-curL
PR: https://github.com/tarantool/tarantool/pull/9168

Maxim Kokryashkin (4):
  Revert "Fix cur_L tracking on exceptional path"
  Revert "Update cur_L on exceptional path"
  Revert "arm64: fix cur_L restoration on error throw"
  Revert "Update cur_L on exceptional path (arm)"

Mike Pall (1):
  Restore cur_L for specific Lua/C API use case.

 src/lj_err.c                                  |  5 ++-
 src/vm_arm.dasc                               |  2 --
 src/vm_arm64.dasc                             |  2 --
 src/vm_x64.dasc                               |  8 ++---
 src/vm_x86.dasc                               |  8 ++---
 test/tarantool-tests/CMakeLists.txt           |  1 +
 ...-fix-cur_L-after-coroutine-resume.test.lua | 32 +++++++++++++++++++
 .../CMakeLists.txt                            |  1 +
 .../libcur_L_coroutine.c                      | 22 +++++++++++++
 9 files changed, 66 insertions(+), 15 deletions(-)
 create mode 100644 test/tarantool-tests/lj-1066-fix-cur_L-after-coroutine-resume.test.lua
 create mode 100644 test/tarantool-tests/lj-1066-fix-cur_L-after-coroutine-resume/CMakeLists.txt
 create mode 100644 test/tarantool-tests/lj-1066-fix-cur_L-after-coroutine-resume/libcur_L_coroutine.c

-- 
2.42.0



More information about the Tarantool-patches mailing list