Ran
|
Files
89
|
Run time
5s
|
Badge
Embed ▾
README BADGES
|
push
github
Check frame size limit before returning to a lower frame. Thanks to Sergey Kaplun. (cherry picked from commit 302366a33) When compiling a stitched (or side) trace, there is no check for the frame size of the current prototype during recording. Hence, when we return (for example, after stitching) to the lower frame with a maximum possible frame size (249), the 251 = `baseslot` (2) + `maxslot` (249) slot for GC64 mode may be used. This leads to the corresponding assertion failure in `rec_check_slots()`. This patch adds the corresponding check. The `LJ_MAX_JSLOTS` and `LJ_MAX_SLOTS` are equal by default, but their values may be manually changed for some custom builds. Hence, the check is not enabled only for `LJ_GC64` mode. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#9595 Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org> Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit 194a6fbc7)
5639 of 5999 branches covered (94.0%)
Branch coverage included in aggregate %.
21502 of 23324 relevant lines covered (92.19%)
772435.96 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|