[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 37963ed4: Fix bytecode optimization typo
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 37963ed4: Fix bytecode optimization typo |
Date: |
Sat, 4 May 2019 13:17:15 -0400 (EDT) |
branch: master
commit 37963ed4991823fd1ee5cd2c485f22ac988259e2
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Fix bytecode optimization typo
Problem reported by Simon Frankau (Bug#35562).
* src/bytecode.c (exec_byte_code): Fix typo when optimizing varset.
---
src/bytecode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bytecode.c b/src/bytecode.c
index 4097779..6f601cf 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -562,7 +562,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector,
Lisp_Object maxdepth,
/* Inline the most common case. */
if (SYMBOLP (sym)
&& !EQ (val, Qunbound)
- && !XSYMBOL (sym)->u.s.redirect
+ && XSYMBOL (sym)->u.s.redirect == SYMBOL_PLAINVAL
&& !SYMBOL_TRAPPED_WRITE_P (sym))
SET_SYMBOL_VAL (XSYMBOL (sym), val);
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 37963ed4: Fix bytecode optimization typo,
Paul Eggert <=