• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 22490593349
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/lj-1418-1422-dualnum-narrowing-0
DEFAULT BRANCH: tarantool/master
Ran 28 Feb 2026 05:05PM UTC
Jobs 1
Files 89
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Feb 2026 02:11PM UTC coverage: 93.054%. First build
22490593349

push

github

Buristan
DUALNUM: Improve/fix edge cases of unary minus.

Thanks to Sergey Kaplun.

(cherry picked from commit 707c12bf0)

In a single-number build (default for x86/x64), `-(0)` is always `-0`
due to its number type. However, in DUALNUM mode, the `0` may have the
integer type, and for this integer, `BC_UNM` has no effect. `0` may be
represented via number or integer type, where the resulting `0` is
constructed during initial parsing (`lj_strscan_scan()`) or arithmetic
operations (`BC_MODVV`). This inconsistency may break the JIT semantics
and lead to the assertion failure in the `lj_check_slots()`.

This patch fixes the incorrect `BC_UNM` for integer operand 0. Also, the
narrowing optimization for the unary minus should be more strict to
avoid incorrect narrowing for integer slots and make JIT intact with the
VM semantics.

Sergey Kaplun:
* added the description and the test for the problem

Part of tarantool/tarantool#12134

5712 of 6046 branches covered (94.48%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

21793 of 23512 relevant lines covered (92.69%)

3871846.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22490593349.1 28 Feb 2026 05:05PM UTC 89
93.05
GitHub Action Run
Source Files on build 22490593349
  • Tree
  • List 89
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22490593349
  • cf79020b on github
  • Next Build on skaplun/lj-1418-1422-dualnum-narrowing-0 (#22665542916)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc