comparison src/vim9.h @ 23719:1a7c2685d780 v8.2.2401

patch 8.2.2401: build fails without +profiling feature Commit: https://github.com/vim/vim/commit/f002a41d127d49cfe5a59819d1498bc0ff8b594a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 24 13:34:18 2021 +0100 patch 8.2.2401: build fails without +profiling feature Problem: Build fails without +profiling feature. Solution: Add #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Sun, 24 Jan 2021 13:45:04 +0100
parents e3720756acdc
children 7caffd835aa1
comparison
equal deleted inserted replaced
23718:cb609d495c3c 23719:1a7c2685d780
371 garray_T df_def_args_isn; // default argument instructions 371 garray_T df_def_args_isn; // default argument instructions
372 372
373 // After compiling "df_instr" and/or "df_instr_prof" is not NULL. 373 // After compiling "df_instr" and/or "df_instr_prof" is not NULL.
374 isn_T *df_instr; // function body to be executed 374 isn_T *df_instr; // function body to be executed
375 int df_instr_count; // size of "df_instr" 375 int df_instr_count; // size of "df_instr"
376 isn_T *df_instr_prof; // like "df_instr" with profiling 376 #ifdef FEAT_PROFILE
377 int df_instr_prof_count; // size of "df_instr_prof" 377 isn_T *df_instr_prof; // like "df_instr" with profiling
378 int df_instr_prof_count; // size of "df_instr_prof"
379 #endif
378 380
379 int df_varcount; // number of local variables 381 int df_varcount; // number of local variables
380 int df_has_closure; // one if a closure was created 382 int df_has_closure; // one if a closure was created
381 }; 383 };
382 384