|
Repo Added
|
Files
89
|
Badge
README BADGES
|
push
github
Fix bit op coercion for shifts in DUALNUM builds. Reported by Junlong Li. (cherry picked from commit 69bbf3c1b) This is a follow-up to the commit 8cd79d198 ("Fix bit op coercion in DUALNUM builds."). After removing the coercion from `lj_carith_check64()`, the bit shift operation may end in an infinite loop in the case of infinite retrying to coerce the second operand from number to integer TValue type. This patch fixes that by unconditionally coercing the second argument in the `LJLIB_ASM(bit_lshift)` fast function handler. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#11055
5702 of 6038 branches covered (94.44%)
Branch coverage included in aggregate %.
1 of 1 new or added line in 1 file covered. (100.0%)
16 existing lines in 3 files now uncovered.21732 of 23462 relevant lines covered (92.63%)
2960687.86 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|