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

tarantool / luajit / 9567448079
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 18 Jun 2024 03:03PM 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

18 Jun 2024 02:49PM UTC coverage: 92.649% (+0.004%) from 92.645%
9567448079

push

github

Buristan
Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.

Thanks to Peter Cawley.

(cherry picked from commit 658530562)

The `lj_opt_fwd_wasnonnil()` skips the check for HREF and HREFK that may
alias. Hence, the guard for the non-nil value may be skipped, and the
`__newindex` metamethod call is omitted too.

This patch adds the aforementioned check for different reference types
(HREF vs. HREFK), which were not detected by the previous analysis.
Also, the helper macro `irt_isp32()` is introduced to check that the IR
type is `IRT_P32` (KSLOT type).

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

Part of tarantool/tarantool#9924

Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>

5664 of 6021 branches covered (94.07%)

Branch coverage included in aggregate %.

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

4 existing lines in 3 files now uncovered.

21623 of 23431 relevant lines covered (92.28%)

2911322.16 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.24
0.0% src/lj_opt_fold.c
1
99.04
-0.48% src/lj_str.c
2
87.1
-0.17% src/lj_crecord.c
Jobs
ID Job ID Ran Files Coverage
1 9567448079.1 18 Jun 2024 03:03PM UTC 89
92.65
GitHub Action Run
Source Files on build 9567448079
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9567448079
  • 61cef9ec on github
  • Prev Build on tarantool/master (#9565579745)
  • Next Build on tarantool/master (#9593839292)
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

© 2025 Coveralls, Inc