]> git.eshelyaron.com Git - emacs.git/commit
Simplify BYTE_CODE_SAFE checking
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Aug 2016 07:37:38 +0000 (00:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Aug 2016 08:31:20 +0000 (01:31 -0700)
commit4d07064a4374a2f74a256e64027ef80f355c7a7e
tree3541303ac3482dda188b02fe4f5a2459516d164e
parent846e88eb99ddb66f0a949d17a0483a977d748305
Simplify BYTE_CODE_SAFE checking

* src/bytecode.c (BYTE_CODE_SAFE): Default to false, so that it
can be used outside #if.  All uses of ‘defined BYTE_CODE_SAFE’
changed to ‘BYTE_CODE_SAFE’.  Use BYTE_CODE_SAFE in plain
expressions instead of #if expressions when this is easy.
(struct byte_stack) [BYTE_CODE_SAFE]: Remove member ‘bottom’,
as it is no longer needed.
(exec_byte_code): Omit #if BYTE_CODE_SAFE when this is easy.
Simplify stack-overflow checking when BYTE_CODE_SAFE.
src/bytecode.c