Ran
|
Files
89
|
Run time
3s
|
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 %.
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 |
---|