forked from aniani/vim
patch 8.2.2400: Vim9: compiled functions are not profiled
Problem: Vim9: compiled functions are not profiled. Solution: Add initial changes to profile compiled functions. Fix that a script-local function was hard to debug.
This commit is contained in:
@@ -866,7 +866,7 @@ do_cmdline(
|
||||
if (do_profiling == PROF_YES)
|
||||
{
|
||||
if (getline_is_func)
|
||||
func_line_start(real_cookie);
|
||||
func_line_start(real_cookie, SOURCING_LNUM);
|
||||
else if (getline_equal(fgetline, cookie, getsourceline))
|
||||
script_line_start();
|
||||
}
|
||||
|
Reference in New Issue
Block a user