emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/hash-table-perf 9f94796b657 05/37: ; * src/fns.c (collect_interv


From: Mattias Engdegård
Subject: scratch/hash-table-perf 9f94796b657 05/37: ; * src/fns.c (collect_interval): Move misplaced function.
Date: Sun, 7 Jan 2024 12:41:04 -0500 (EST)

branch: scratch/hash-table-perf
commit 9f94796b6572dbfa20d4023b23865016149a3af6
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * src/fns.c (collect_interval): Move misplaced function.
---
 src/fns.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/fns.c b/src/fns.c
index 724b2d40903..e0e52adb77f 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -4765,15 +4765,6 @@ check_mutable_hash_table (Lisp_Object obj, struct 
Lisp_Hash_Table *h)
   eassert (!PURE_P (h));
 }
 
-static void
-collect_interval (INTERVAL interval, Lisp_Object collector)
-{
-  nconc2 (collector,
-         list1(list3 (make_fixnum (interval->position),
-                      make_fixnum (interval->position + LENGTH (interval)),
-                      interval->plist)));
-}
-
 /* Put an entry into hash table H that associates KEY with VALUE.
    HASH is a previously computed hash code of KEY.
    Value is the index of the entry in H matching KEY.  */
@@ -5198,6 +5189,15 @@ sxhash_obj (Lisp_Object obj, int depth)
     }
 }
 
+static void
+collect_interval (INTERVAL interval, Lisp_Object collector)
+{
+  nconc2 (collector,
+         list1(list3 (make_fixnum (interval->position),
+                      make_fixnum (interval->position + LENGTH (interval)),
+                      interval->plist)));
+}
+
 
 
 /***********************************************************************



reply via email to

[Prev in Thread] Current Thread [Next in Thread]