diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-15 19:29:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-15 19:29:30 +0000 |
commit | 139575de6653e7fd5807cb036dfb3684b815c519 (patch) | |
tree | 55a74125f139573cb1839c3b78cac73d3640f82c /src/vim9.h | |
parent | 48f69cdfa401999ac5ff8cef6d8dcabe3f93e284 (diff) | |
download | vim-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/vim9.h')
-rw-r--r-- | src/vim9.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9.h b/src/vim9.h index 03602e674..5fd852630 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -518,7 +518,7 @@ extern garray_T def_functions; // Used for "lnum" when a range is to be taken from the stack and "!" is used. #define LNUM_VARIABLE_RANGE_ABOVE -888 -// Keep in sync with COMPILE_TYPE() +// Keep in sync with get_compile_type() #ifdef FEAT_PROFILE # define INSTRUCTIONS(dfunc) \ (debug_break_level > 0 || may_break_in_function(dfunc->df_ufunc) \ |