diff options
| author | Andrea Corallo | 2025-09-18 00:03:42 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2025-09-18 10:51:03 +0200 |
| commit | e98a13ec7f4d19b08b0d5396288fac0688ccaa0a (patch) | |
| tree | 0f7006fbc04845757111b0756e7e1e49a3f1e168 | |
| parent | 720e8b94c0eaa21317a25e3c0c960edd283cf341 (diff) | |
| download | emacs-e98a13ec7f4d19b08b0d5396288fac0688ccaa0a.tar.gz emacs-e98a13ec7f4d19b08b0d5396288fac0688ccaa0a.zip | |
* Make sure the compiler optimizes for symbols_with_pos_enabled 0 in EQ
* src/lisp.h (EQ): Make use '__builtin_expect'.
| -rw-r--r-- | src/lisp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 88406aa0ce8..ecc20600dd0 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1328,7 +1328,7 @@ EQ (Lisp_Object x, Lisp_Object y) | |||
| 1328 | { | 1328 | { |
| 1329 | if (BASE_EQ (x, y)) | 1329 | if (BASE_EQ (x, y)) |
| 1330 | return true; | 1330 | return true; |
| 1331 | else if (!symbols_with_pos_enabled) | 1331 | else if (!__builtin_expect (symbols_with_pos_enabled, false)) |
| 1332 | return false; | 1332 | return false; |
| 1333 | else | 1333 | else |
| 1334 | return slow_eq (x, y); | 1334 | return slow_eq (x, y); |