[Tarantool-patches] [PATCH luajit] test: add test for conversions folding

Igor Munkin imun at tarantool.org
Thu Nov 23 09:32:22 MSK 2023


Sergey,

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 16.11.23, Sergey Kaplun via Tarantool-patches wrote:
> This patch adds the test for commit
> 1a401622fe83ae695226c94df3416e312315d659 ("Fix assertions."). This patch
> removes incorrect assertions in the fold optimizations for conversions
> from numbers to different integer types. Although the issue affects only
> branch 2.0, there is no need to fix it. Nevertheless, the test is
> required to avoid regressions in the future.
> 
> Part of tarantool/tarantool#9145
> ---
> 
> Branch: https://github.com/tarantool/luajit/tree/skaplun/lj-833-fold-conv-from-num
> Tarantool PR: https://github.com/tarantool/tarantool/pull/9375
> Related issues:
> * https://github.com/LuaJIT/LuaJIT/issues/833
> * https://github.com/tarantool/tarantool/issues/9145
> 
>  .../lj-833-fold-conv-from-num.test.lua        | 33 +++++++++++++++++++
>  1 file changed, 33 insertions(+)
>  create mode 100644 test/tarantool-tests/lj-833-fold-conv-from-num.test.lua
> 

<snipped>

> -- 
> 2.42.0
> 

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list