summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-15 19:29:30 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-15 19:29:30 +0000
commit139575de6653e7fd5807cb036dfb3684b815c519 (patch)
tree55a74125f139573cb1839c3b78cac73d3640f82c /src/proto
parent48f69cdfa401999ac5ff8cef6d8dcabe3f93e284 (diff)
downloadvim-git-139575de6653e7fd5807cb036dfb3684b815c519.tar.gz
patch 8.2.4575: Vim9: test for profiling still failsv8.2.4575
Problem: Vim9: test for profiling still fails. Solution: Update flags for profiling and breakpoints when obtaining the compile type. Do not set the FC_CLOSURE flag for a toplevel function.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/vim9compile.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/vim9compile.pro b/src/proto/vim9compile.pro
index 0e71b93fa..94ef8277e 100644
--- a/src/proto/vim9compile.pro
+++ b/src/proto/vim9compile.pro
@@ -23,6 +23,7 @@ int compile_lhs(char_u *var_start, lhs_T *lhs, int cmdidx, int heredoc, int ople
int compile_assign_lhs(char_u *var_start, lhs_T *lhs, int cmdidx, int is_decl, int heredoc, int oplen, cctx_T *cctx);
int compile_load_lhs_with_index(lhs_T *lhs, char_u *var_start, cctx_T *cctx);
int compile_assign_unlet(char_u *var_start, lhs_T *lhs, int is_assign, type_T *rhs_type, cctx_T *cctx);
+compiletype_T get_compile_type(ufunc_T *ufunc);
int compile_def_function(ufunc_T *ufunc, int check_return_type, compiletype_T compile_type, cctx_T *outer_cctx);
void set_function_type(ufunc_T *ufunc);
void unlink_def_function(ufunc_T *ufunc);