Mercurial > vim
comparison src/vim9execute.c @ 25533:df39041f13ed v8.2.3303
patch 8.2.3303: some structures could be smaller
Commit: https://github.com/vim/vim/commit/3276f5846f7ad61f55175959ac21c1b4cf595352
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Sat Aug 7 12:44:41 2021 +0200
patch 8.2.3303: some structures could be smaller
Problem: Some structures could be smaller.
Solution: Rearrange members to reduce size. (Dominique Pell?, closes https://github.com/vim/vim/issues/8725)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 Aug 2021 12:45:05 +0200 |
parents | a8f526c9b172 |
children | 2ae1d5a4ae5c |
comparison
equal
deleted
inserted
replaced
25532:859e308bbd2f | 25533:df39041f13ed |
---|---|
83 outer_ref_T *ec_outer_ref; // outer scope used for closures, allocated | 83 outer_ref_T *ec_outer_ref; // outer scope used for closures, allocated |
84 funclocal_T ec_funclocal; | 84 funclocal_T ec_funclocal; |
85 | 85 |
86 garray_T ec_trystack; // stack of trycmd_T values | 86 garray_T ec_trystack; // stack of trycmd_T values |
87 | 87 |
88 isn_T *ec_instr; // array with instructions | |
88 int ec_dfunc_idx; // current function index | 89 int ec_dfunc_idx; // current function index |
89 isn_T *ec_instr; // array with instructions | |
90 int ec_iidx; // index in ec_instr: instruction to execute | 90 int ec_iidx; // index in ec_instr: instruction to execute |
91 | 91 |
92 garray_T ec_funcrefs; // partials that might be a closure | 92 garray_T ec_funcrefs; // partials that might be a closure |
93 | 93 |
94 int ec_did_emsg_before; | 94 int ec_did_emsg_before; |