Ran
|
Jobs
1
|
Files
89
|
Run time
24s
|
Badge
Embed ▾
README BADGES
|
push
github
Fix FOLD rule for BUFHDR append. Reported by XmiliaH. (cherry-picked from commit bc1bdbf62) `bufput_append()` may fold `BUFHDR RESET` + `BUFPUT` IRs to `BUFHDR APPEND` even if the right operand (`BUFSTR`) is the PHI. If it's not the last IR in the `BUFSTR` chain, this may lead to an incorrect resulting value in the buffer, which contains a longer string since `APPEND` is used instead of `RESET`. This patch adds the corresponding check inside the fold rule. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#9145
5367 of 5977 branches covered (0.0%)
Branch coverage included in aggregate %.
2 of 2 new or added lines in 1 file covered. (100.0%)
2 existing lines in 2 files now uncovered.20571 of 23323 relevant lines covered (88.2%)
2748602.51 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.17 |
-0.08% | src/lj_asm.c |
1 |
95.91 |
-0.18% | src/lj_opt_mem.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 6929412437.1 | 89 |
88.53 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|