mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 10:53:23 +00:00
* src/bytecode.c (exec_byte_code): Remove superfluous condition
Bytecode should never be able to set anything to Qunbound because that value is not accessible from Lisp. Found by Pip Cet.
This commit is contained in:
parent
08a7477d22
commit
ebdad09c5a
1 changed files with 1 additions and 4 deletions
|
@ -697,10 +697,7 @@ exec_byte_code (Lisp_Object fun, ptrdiff_t args_template,
|
|||
{
|
||||
Lisp_Object sym = vectorp[op];
|
||||
Lisp_Object val = POP;
|
||||
|
||||
/* Inline the most common case. */
|
||||
if (!BASE_EQ (val, Qunbound)
|
||||
&& XBARE_SYMBOL (sym)->u.s.redirect == SYMBOL_PLAINVAL
|
||||
if (XBARE_SYMBOL (sym)->u.s.redirect == SYMBOL_PLAINVAL
|
||||
&& !XBARE_SYMBOL (sym)->u.s.trapped_write)
|
||||
SET_SYMBOL_VAL (XBARE_SYMBOL (sym), val);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue