Repo Added
|
Files
89
|
Badge
Embed ▾
README BADGES
|
push
github
Clear stack after print_jit_status() in CLI. Suggested by Hydroque. (cherry picked from commit 03cd5aa74) This patch makes the Lua stack balanced after using the aforementioned function, which is considered a good practice [1]. Be aware that the only argument on the stack is dummy NULL from the `lua_cpcall()`, so it can be easily cleared. This doesn't change the behaviour since all calls of `print_jit_status()` are followed by `dotty()` with a call to `loadline()`, which clears the stack anyway. Sergey Kaplun: * added the description for the patch [1]: https://www.lua.org/manual/5.1/manual.html#lua_call Part of tarantool/tarantool#10199
5685 of 6026 branches covered (94.34%)
Branch coverage included in aggregate %.
1 of 1 new or added line in 1 file covered. (100.0%)
5 existing lines in 2 files now uncovered.21690 of 23434 relevant lines covered (92.56%)
2960267.87 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|
Builds | Branch | Commit | Type | Ran | Committer | Via | Coverage |
---|---|---|---|---|---|---|---|
10806181901 | skaplun/lj-382-clear-stack-after-jit-status | Clear stack after print_jit_status() in CLI. Suggested by Hydroque. (cherry picked from commit 03cd5aa74) This patch makes the Lua stack balanced after using the aforementioned function, which is considered a good... | push | Buristan | github |
92.92 |