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

Maxim Kokryashkin max.kokryashkin at gmail.com
Thu Sep 28 20:08:45 MSK 2023


This patch set reverts three patches, that introduced cur_L update
on error throw, because this behavior is a violation of the Lua C
API. Then, a proper fix from the vanilla LuaJIT is applied.

This proper fix now lets us perform that Lua C API violation
though, so the old test for the issue left intact and no new
tests were added.

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

Maxim Kokryashkin (3):
  Revert "Fix cur_L tracking on exceptional path"
  Revert "Update cur_L on exceptional path"
  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_x64.dasc | 8 +++-----
 src/vm_x86.dasc | 8 +++-----
 4 files changed, 10 insertions(+), 13 deletions(-)

-- 
2.42.0



More information about the Tarantool-patches mailing list