comparison src/proto/vim9compile.pro @ 28101:3bc0a639dfb0 v8.2.4575

patch 8.2.4575: Vim9: test for profiling still fails Commit: https://github.com/vim/vim/commit/139575de6653e7fd5807cb036dfb3684b815c519 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 15 19:29:30 2022 +0000 patch 8.2.4575: Vim9: test for profiling still fails 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.
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Mar 2022 20:30:03 +0100
parents 3813036f19cb
children bd1dcc605e58
comparison
equal deleted inserted replaced
28100:0b5711bd05a9 28101:3bc0a639dfb0
21 int get_var_dest(char_u *name, assign_dest_T *dest, int cmdidx, int *option_scope, int *vimvaridx, type_T **type, cctx_T *cctx); 21 int get_var_dest(char_u *name, assign_dest_T *dest, int cmdidx, int *option_scope, int *vimvaridx, type_T **type, cctx_T *cctx);
22 int compile_lhs(char_u *var_start, lhs_T *lhs, int cmdidx, int heredoc, int oplen, cctx_T *cctx); 22 int compile_lhs(char_u *var_start, lhs_T *lhs, int cmdidx, int heredoc, int oplen, cctx_T *cctx);
23 int compile_assign_lhs(char_u *var_start, lhs_T *lhs, int cmdidx, int is_decl, int heredoc, int oplen, cctx_T *cctx); 23 int compile_assign_lhs(char_u *var_start, lhs_T *lhs, int cmdidx, int is_decl, int heredoc, int oplen, cctx_T *cctx);
24 int compile_load_lhs_with_index(lhs_T *lhs, char_u *var_start, cctx_T *cctx); 24 int compile_load_lhs_with_index(lhs_T *lhs, char_u *var_start, cctx_T *cctx);
25 int compile_assign_unlet(char_u *var_start, lhs_T *lhs, int is_assign, type_T *rhs_type, cctx_T *cctx); 25 int compile_assign_unlet(char_u *var_start, lhs_T *lhs, int is_assign, type_T *rhs_type, cctx_T *cctx);
26 compiletype_T get_compile_type(ufunc_T *ufunc);
26 int compile_def_function(ufunc_T *ufunc, int check_return_type, compiletype_T compile_type, cctx_T *outer_cctx); 27 int compile_def_function(ufunc_T *ufunc, int check_return_type, compiletype_T compile_type, cctx_T *outer_cctx);
27 void set_function_type(ufunc_T *ufunc); 28 void set_function_type(ufunc_T *ufunc);
28 void unlink_def_function(ufunc_T *ufunc); 29 void unlink_def_function(ufunc_T *ufunc);
29 void link_def_function(ufunc_T *ufunc); 30 void link_def_function(ufunc_T *ufunc);
30 void free_def_functions(void); 31 void free_def_functions(void);