mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
* Make sure the compiler optimizes for symbols_with_pos_enabled 0 in EQ
* src/lisp.h (EQ): Make use '__builtin_expect'.
This commit is contained in:
parent
720e8b94c0
commit
e98a13ec7f
1 changed files with 1 additions and 1 deletions
|
|
@ -1328,7 +1328,7 @@ EQ (Lisp_Object x, Lisp_Object y)
|
|||
{
|
||||
if (BASE_EQ (x, y))
|
||||
return true;
|
||||
else if (!symbols_with_pos_enabled)
|
||||
else if (!__builtin_expect (symbols_with_pos_enabled, false))
|
||||
return false;
|
||||
else
|
||||
return slow_eq (x, y);
|
||||
|
|
|
|||
Loading…
Reference in a new issue