fix hashtable cache - gcl.git - GNU Common Lisp

index : gcl.git
GNU Common Lisp
summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamm Maguire <camm@valiant.maguirefamily.org>2016年11月07日 21:24:52 +0000
committerCamm Maguire <camm@valiant.maguirefamily.org>2016年11月07日 21:24:52 +0000
commit95e8c8b7e40a7217e7b1424fdc9af6b7c284753a (patch)
tree774050443621b12e7c7956730aa9c056e5961945
parentcf86b7d2f67073987c872a0b5b106a83cfee6faf (diff)
downloadgcl-95e8c8b7e40a7217e7b1424fdc9af6b7c284753a.tar.gz
fix hashtable cache
Diffstat
-rwxr-xr-xgcl/o/hash.d 3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcl/o/hash.d b/gcl/o/hash.d
index 69805b259..7f309824b 100755
--- a/gcl/o/hash.d
+++ b/gcl/o/hash.d
@@ -294,7 +294,7 @@ object hashtable;
old = alloc_object(t_hashtable);
old->ht = hashtable->ht;
vs_push(old);
- hashtable->ht.ht_self = NULL;
+ hashtable->ht.ht_cache=hashtable->ht.ht_self = NULL;
hashtable->ht.ht_size = new_size;
if (type_of(hashtable->ht.ht_rhthresh) == t_fixnum)
hashtable->ht.ht_rhthresh =
@@ -313,7 +313,6 @@ object hashtable;
hashtable,
old->ht.ht_self[i].hte_value);
}
- hashtable->ht.ht_cache=NULL;
hashtable->ht.ht_nent = old->ht.ht_nent;
vs_popp;
END_NO_INTERRUPT;}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月03日 04:22:30 +0000

AltStyle によって変換されたページ (->オリジナル) /