summaryrefslogtreecommitdiffstats
path: root/src/proto/profiler.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-02-19 19:13:21 +0100
committerBram Moolenaar <Bram@vim.org>2021-02-19 19:13:21 +0100
commit12d265315fac9e4f3436c38a87f6d9a23b9e7e2b (patch)
tree55d04fd2ba3c7f12f32ff24f43b448292fdf7a05 /src/proto/profiler.pro
parentd3f8a9ee65b249d073343e43e423bc3348dd09d0 (diff)
patch 8.2.2530: Vim9: not enough testing for profilingv8.2.2530
Problem: Vim9: not enough testing for profiling. Solution: Add a test with nested functions and a lambda. Fix profiling for calling a compiled function.
Diffstat (limited to 'src/proto/profiler.pro')
-rw-r--r--src/proto/profiler.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/profiler.pro b/src/proto/profiler.pro
index b2070df132..1882fbf108 100644
--- a/src/proto/profiler.pro
+++ b/src/proto/profiler.pro
@@ -19,8 +19,8 @@ void prof_inchar_enter(void);
void prof_inchar_exit(void);
int prof_def_func(void);
void func_do_profile(ufunc_T *fp);
-void profile_may_start_func(profinfo_T *info, ufunc_T *fp, funccall_T *fc);
-void profile_may_end_func(profinfo_T *info, ufunc_T *fp, funccall_T *fc);
+void profile_may_start_func(profinfo_T *info, ufunc_T *fp, ufunc_T *caller);
+void profile_may_end_func(profinfo_T *info, ufunc_T *fp, ufunc_T *caller);
void prof_child_enter(proftime_T *tm);
void prof_child_exit(proftime_T *tm);
void func_line_start(void *cookie, long lnum);