diff options
| author | Mattias EngdegÄrd | 2025-09-22 18:33:01 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2025-10-16 19:27:17 +0200 |
| commit | 58a5a1f0988790b94bf08cfa73864427a698ef64 (patch) | |
| tree | f1edc7024b0adba2f35b3283e2e76bd99273cf57 /java | |
| parent | 888a910bc9a840ea8007abe04d610b66e8de56db (diff) | |
| download | emacs-58a5a1f0988790b94bf08cfa73864427a698ef64.tar.gz emacs-58a5a1f0988790b94bf08cfa73864427a698ef64.zip | |
exec_byte_code: reduce use of semi-global 'op' (bug#79610)
* src/bytecode.c (exec_byte_code):
Re-type op from int to ptrdiff_t, which avoids some useless conversions.
Reduce its use by using local variables for intra-block use,
and another variable (arg) where it doesn't need to be alive across
instruction dispatch. We also eliminate it where performance doesn't
matter by re-fetching it from the instruction stream.
All this should help the register allocator.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions