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

tarantool / luajit / 6846981169
89%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 13 Nov 2023 07:39AM UTC
Jobs 1
Files 89
Run time 8s
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

13 Nov 2023 07:32AM UTC coverage: 88.306% (+0.1%) from 88.162%
6846981169

push

github

Buristan
Fix HREFK forwarding vs. table.clear().

Reported by XmiliaH.

(cherry-picked from commit d5a237eae)

When performing HREFK (and also ALOAD, HLOAD) forwarding optimization,
the `table.clear()` function call may be performed on the table operand
from HREFK between table creation and IR, from which value is forwarded.
This call isn't taken in the account, so it may lead to too optimistic
value-forwarding from NEWREF (and also ASTORE, HSTORE), or the omitted
type guard for HREFK operation. Therefore, this leads to incorrect trace
behaviour (for example, taking a non-nil value from the cleared table).

This patch adds necessary checks for `table.clear()` calls.

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

Part of tarantool/tarantool#9145

5346 of 5975 branches covered (0.0%)

Branch coverage included in aggregate %.

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

15 existing lines in 3 files now uncovered.

20510 of 23305 relevant lines covered (88.01%)

2748178.98 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
93.33
-0.48% src/luajit.c
3
97.61
-1.44% src/lj_str.c
10
73.0
-1.01% src/lj_api.c
Jobs
ID Job ID Ran Files Coverage
1 6846981169.1 13 Nov 2023 07:39AM UTC 89
88.31
GitHub Action Run
Source Files on build 6846981169
  • 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 #6846981169
  • b6bd4d1c on github
  • Prev Build on tarantool/master (#6803001423)
  • Next Build on skaplun/lj-792-hrefk-table-clear (#7118964921)
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